First post, by Goalatio
Hi, I am trying to display the 256 colorset usable by the BIOS in DOSBOX 0.73
It works.. but only for half of the colors. The other half is a giant mass of blinking squares. This works anywhere outside of DOSbox. Here's the code.
[org 0100h][section .text]mov bl,01MAIN:cmp word [counter],255je DONEcmp byte [keep_neat],16je ENDLINEmov cx,1mov al,0mov ah,9int 10hmov dx,blankcall WRITEinc blinc byte [keep_neat]inc word [counter]jmp MAINDONE:mov ah,4chmov al,0int 21hWRITE:mov ah,9int 21hretENDLINE:mov dx,eolcall WRITEmov byte [keep_neat],0jmp MAIN[section .data]counter dw 0blank db "0", "$"keep_neat db 0eol db 13, 10, "$"
Compiled via NASM16
It's passion that drives me.