flat assembler
Message board for the users of flat assembler.
Index
> DOS > Graphics Routines |
Author |
|
DOS386 31 May 2007, 22:28
Quote: Is there a graphics library for fasm in dos? A basic set of routines, pixels, lines, boxes, circles perhaps There is DUGL ... but it is for DGJPP, not for FASM . From my discussion with the author I found out, that a FASM version might be doable acceptably easy, but he would have to do since it is closed source. Remove file I/O ("LoadGIF" -> "DecodeGIF", since it relies on DGJPP's crappy I/O library), remove DPMI__INT (it is in the DGJPP library, rely on translation by HDPMI32 or DOS/32A instead), change memory model to zero-based ... adjust the code to be position-independent (preferred, otherwise some reloc/fixup stuff would be needed) and adjust the docs (now they use the silly "C" syntax full of silly stars and similar "pointer" junk ) http://dugl.50webs.com/index.html Screenshots: MORE _________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug Last edited by DOS386 on 02 May 2008, 04:27; edited 3 times in total |
|||
31 May 2007, 22:28 |
|
Picnic 02 Jun 2007, 09:30
Thanks for the info. I'll see what to do. I found some mode13 routines on Tasm syntax i'll try to convert to Fasm, for start..
|
|||
02 Jun 2007, 09:30 |
|
Dex4u 02 Jun 2007, 19:56
@thimis, If you write or convert Dos graphic libs to fasm, it would be usefull to other's and will help you learn .
PS: Theres a link to putpixel, cls etc in the Dos FAQ. |
|||
02 Jun 2007, 19:56 |
|
Picnic 03 Jun 2007, 11:37
I'll try to do that, thanks Dex4u
|
|||
03 Jun 2007, 11:37 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.