Last Updated or created 2023-06-22
Altered glabios to run code at F600:0000 instead of basic rom.
(Needs to have code to check if rom exists)
My test code and generating rom is below:
It should set leds on the keyboard to on .. we will see tomorrow.
NAME mycode .model small ORG 0h .code start: mov al, 11000000b out 80h, al loop1: nop jmp loop1 ORG 1fffh ; end of rom db 0 END
makefile is:
@ECHO OFF MASM /DARCH_TYPE="T" /DCPU_TYPE="V" MYROM; LINK MYROM; EXE2COM MYROM.EXE REN MYROM.COM MYROM.ROM
That looks okay!
MOV AL = B0
C0 = 11000000
OUT = E6
80h = 80h
90 = NOP
EB = relative jump
FD = -3 to NOP instruction