Search found 774 matches

by DOS386
Sep 10, 2011 13:11
Forum: DOS
Topic: DOS IS NOT DEAD
Replies: 8
Views: 3148

Re: DOS IS NOT DEAD ???

I think my problem was trying to use it with DosBox which does not have LFN support. Yes you need LFN support, since everything is converted from Linux without shortening the file names. It will run in a Windows XP DOS box. ------------------------------------ DOS IS NOT DEAD Are you sure ??? (see ...
by DOS386
Sep 10, 2011 12:59
Forum: DOS
Topic: Text interface application
Replies: 7
Views: 1714

Re: Text interface application

in qb I can use ╔ but in FB it shows up as a + (even if I press Alt and enter 201) I never tried to PRINT such "evil" char's ... in any case, you can poke the "evil" values directly into the VRAM at $000B'8000 ... they will definitely show as characters, not cause any "cont...
by DOS386
Aug 22, 2011 14:39
Forum: Sources, Examples, Tips and Tricks
Topic: How to read ATAPI CD/DVD sectors and related stuff (for DOS)
Replies: 16
Views: 4567

WARNING: this program uses 686 (Pentium Pro/K6/CyrixMX2) specific instructions '(like CMOVxx,RDTSC, etc) It will not work with 586(Pentium/K5)/486/386 processors. CMOV is easy to avoid, but RDTSC is a pain to replace :-( From version 2.31 FS is now bug free for FAT32 and ISO9660 - completly functio...
by DOS386
Aug 22, 2011 14:28
Forum: General
Topic: bug in bload ?
Replies: 25
Views: 3074

Re: @ bad idea

Its doing neither of these things. Its loading the original pic using one regime and saving it using another regime NO. I was pondering on A the cause See above: your fault, you are deliberately loading a 24 bpp BMP into a 16 bpp buffer. Try to carry 24 gallons of beer using a 16 gallons barrel wit...
by DOS386
Aug 21, 2011 15:55
Forum: General
Topic: bug in bload ?
Replies: 25
Views: 3074

When you load a 24bit bmp in 16bit screen mode the alpha data is not discarded ( the bug ) then why does the picture change after i save it & reload it? the bug ? screenres 640,480, 16 bload "mysavedpic.bmp" ' now looks different but wont change on subsequent save/load cycles Hadn't w...
by DOS386
Aug 20, 2011 11:00
Forum: Sources, Examples, Tips and Tricks
Topic: How to read ATAPI CD/DVD sectors and related stuff (for DOS)
Replies: 16
Views: 4567

xcdrom/udma ? they only have (?) suport for parallel ata controllers not to serial ata ...(?) No, I wrote XDMA32 and XCDROM32 http://www.japheth.de/Download/Jemm/JEMM575S.zip and UIDE ... Under DOS , FS works ONLY with standard parallel ide controllers ! But it still has support for USB mass storag...
by DOS386
Aug 20, 2011 8:52
Forum: Sources, Examples, Tips and Tricks
Topic: How to read ATAPI CD/DVD sectors and related stuff (for DOS)
Replies: 16
Views: 4567

COOL (I'll test later) :-) Select Case ide Case 0 c_ide=&h1f0 s_reg=&h3f6 Case 1 c_ide=&h170 s_reg=&h376 End Select Seems you support so called "legacy" IDE controllers only (as opposed to "native" PCI/PCIE ones no longer mapping onto legacy port ranges at $01F0 a...
by DOS386
Aug 20, 2011 8:46
Forum: Community Discussion
Topic: CR and LF in 0.23
Replies: 8
Views: 1237

sir_mud wrote:The compiler understands both, the problem comes with some editors on DOS and Windows don't deal with anything but CR/LF well.
The solution is to decide for one of them (I'm equally happy with both) and deprecate faulty editors like M$-NOTEPAD (is this BUG still unfixed in Win7 ???).
by DOS386
Aug 18, 2011 13:11
Forum: Community Discussion
Topic: CR and LF in 0.23
Replies: 8
Views: 1237

CR and LF in 0.23

Version 0.23 of FB packages (DOS and Win32) differs from 0.22 by "FBC.EXE" updated (deliberate, good) but also by a large amount of files switched from "LF" to "CRLF" or vice-versa, without any "useful" change to the content. This had been already an issue in ...
by DOS386
Aug 18, 2011 13:01
Forum: General
Topic: bug in bload ?
Replies: 25
Views: 3074

Re: bug in bload ?

When you load a 24bit bmp in 16bit screen mode the alpha data is not discarded ( the bug ) FYI, a 24bpp BMP does NOT hold any Alpha data. There apparently exist 32bpp BMP's that can hold Alpha OR just unused garbage values in the upper 8 bits of every pixel. I don't know how FB handles such BMP's, ...
by DOS386
Aug 17, 2011 4:01
Forum: Community Discussion
Topic: Preparing 0.23
Replies: 41
Views: 7328

The release schedule is becoming a bit 'frantic' . In 2008 there was a similar release 'streak' that ended with the dev announcing the releases leaving the team of developers. I don't see this as a problem. I rather dislike things like "0.21.0.1.0.2.pl999 silent update of the CP\M package only...
by DOS386
Aug 17, 2011 3:49
Forum: General
Topic: question about point and integers
Replies: 19
Views: 2410

Re: A in 16bit mode

i mentioned there was 32k (32 thousand colours ) in 16bit mode. This is because i was confused in thinking there was an alpha channel the user had control of in 16bit mode. There are 64k different colours possible in 16bit mode not 32k colours. There is no Alpha support in FB's 16 bpp modes. VRAM c...
by DOS386
Aug 08, 2011 2:03
Forum: General
Topic: question about point and integers
Replies: 19
Views: 2410

answer

TESLACOIL wrote:Q what is the exact total number of colours FB uses in 16bit mode ?
2^16 = 1 SHL 16 = 65'536 :shock:
by DOS386
Aug 08, 2011 1:21
Forum: General
Topic: question about point and integers
Replies: 19
Views: 2410

HTML

dodicat wrote:obtained from the NET were HTML, but came out perfectly well when used as hex rgb, so what is the relationship between HTML and HEX?
Very same thing. HTML uses sRGB color space and specifies the R G B values as UINT8 in HEX :-)
by DOS386
Aug 07, 2011 9:18
Forum: General
Topic: question about point and integers
Replies: 19
Views: 2410

screenres 400, 300, 32 I'd prefer 640 x 480 ;-) FYI, the Wiki pages http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgPoint http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgPset were horribly broken, so I fixed the text. Someone please update the examples, preferably using a reasonable mode (640...