flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Chewy509
Just switch to mode 03h, and load the 8x8 font.
Code: ;Set 80x50 text mode... mov ax, 0003h int 10h ;first set mode 03h xor bx, bx mov ax, 1112h int 10h ;load 8x8 font (we hope that controller has ; an internal font that we can use). After that, it works the same way as 80x25, except you now have more lines to play with. (If you would like the code to do it without using the BIOS, let me know and I'll post it up). |
|||
![]() |
|
woody
Hi all.
So just to be clear, I can address this like normal (b800). Thanks in advance Woody P.S. Could you post the none BIOS code. Thanks. |
|||
![]() |
|
Dex4u
You can use it just like 80x25, but if you are using it in your own OS you need to remember when making your screen functions, that the screen is "50" not "25" for things like scroll, clear screen etc.
My OS called "Dex4u" users that mode for the CLI. http://falconrybells.co.uk/screenshots.htm Also note that BOCHs may not display the fonts right, when emulating. |
|||
![]() |
|
Chewy509
woody wrote: So just to be clear, I can address this like normal (b800). By all means, YES. For the non-BIOS version, goto: http://chewy509.atspace.com/index.html and download the LOST source. The files you are after are: Lost/SRC/DRIVERS/6845.asm <-- high level functions (write_str, move cursor, etc) Lost/SRC/DRIVERS/6845_txt.asm <-- contains the mode switch code. Lost/SRC/DRIVERS/mode03.fon <-- font Lost/SRC/DRIVERS/mode03.reg <-- Register equates The source is in NASM, so shouldn't be a problem to port over to FASM. The code is heavily based on the many mode switch tutorials available on the net, so I won't take credit for it. But AFAIK it is public domain. |
|||
![]() |
|
woody
Hi all.
Thanks for the help Chewy509 the first reply works like a treat. There seems to be something wrong with your website, when I try to download the required files I think your host starts to complain with any error message. Thanks Woody. |
|||
![]() |
|
smiddy
I got he same thing...404 no such file or directory.
|
|||
![]() |
|
Chewy509
Fixed, you should be able to get the file now!
|
|||
![]() |
|
woody
Thanks....
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.