2023-12-03 19:24:12 +00:00
|
|
|
.org 0xE000
|
2023-11-12 04:04:56 +00:00
|
|
|
mov sp,#STACK
|
2023-11-06 08:12:58 +00:00
|
|
|
|
|
|
|
MAIN_LOOP:
|
|
|
|
MOV DL,#0xF0
|
|
|
|
DELAY11:
|
|
|
|
MOV AX,#0x0000
|
|
|
|
DELAY1:
|
|
|
|
INC AX
|
|
|
|
JNZ DELAY1
|
|
|
|
INC DL
|
|
|
|
JNZ DELAY11
|
|
|
|
|
|
|
|
MOV AL,#0x01
|
|
|
|
out byte #0xB0
|
2023-11-12 02:54:41 +00:00
|
|
|
|
|
|
|
MOV SI,#RESERVED
|
|
|
|
MOV DI,#RESERVED
|
|
|
|
MOV AL,#0x68 ; 'h'
|
2023-12-03 19:24:12 +00:00
|
|
|
#STOSB
|
|
|
|
#MOV AL,#0x00
|
|
|
|
#MOV AL,[SI]
|
2023-11-12 02:54:41 +00:00
|
|
|
|
2023-12-03 19:24:12 +00:00
|
|
|
#MOV AH,#0x02
|
|
|
|
#MOV DL,AL
|
|
|
|
#INT #0x21
|
|
|
|
out byte #0xA5
|
2023-11-12 04:04:56 +00:00
|
|
|
|
2023-11-09 23:08:12 +00:00
|
|
|
MOV AL,#0x65
|
|
|
|
out byte #0xA5
|
|
|
|
MOV AL,#0x6c
|
|
|
|
out byte #0xA5
|
|
|
|
MOV AL,#0x6c
|
|
|
|
out byte #0xA5
|
|
|
|
MOV AL,#0x6f
|
|
|
|
out byte #0xA5
|
|
|
|
MOV AL,#0x20
|
|
|
|
out byte #0xA5
|
2023-11-06 08:12:58 +00:00
|
|
|
|
|
|
|
MOV DL,#0xF0
|
|
|
|
DELAY21:
|
|
|
|
MOV AX,#0x0000
|
|
|
|
DELAY2:
|
|
|
|
INC AX
|
|
|
|
JNZ DELAY2
|
|
|
|
INC DL
|
|
|
|
JNZ DELAY21
|
|
|
|
MOV AL,#0x00
|
|
|
|
out byte #0xB0
|
|
|
|
|
2023-12-03 19:24:12 +00:00
|
|
|
MOV AX,#0xE000
|
2023-11-06 08:12:58 +00:00
|
|
|
JMP AX
|
|
|
|
|
2023-11-12 02:54:41 +00:00
|
|
|
RESERVED: DB 0x48 ; 'H'
|
2023-12-03 19:24:12 +00:00
|
|
|
.BLKB 100
|
2023-11-12 04:04:56 +00:00
|
|
|
STACK:
|
2023-11-12 02:54:41 +00:00
|
|
|
|
2023-12-03 19:24:12 +00:00
|
|
|
#INCLUDE dos_layer.asm
|
|
|
|
|
2023-11-06 08:12:58 +00:00
|
|
|
.ORG 0xFFF0
|
2023-12-03 19:24:12 +00:00
|
|
|
MOV AX,#0xE000
|
2023-11-06 08:12:58 +00:00
|
|
|
JMP AX
|
2023-12-03 19:24:12 +00:00
|
|
|
|
|
|
|
.ORG 0xFFFF
|
|
|
|
DB 0x00 ;Make sure a full 64KiB image
|