2023-03-14 07:20:30 +00:00
|
|
|
; Interrupt table and routines
|
2023-03-09 06:02:41 +00:00
|
|
|
|
2023-03-08 07:26:28 +00:00
|
|
|
org 0x100
|
2023-12-03 19:24:12 +00:00
|
|
|
output_program:
|
|
|
|
|
|
|
|
org 0xF800
|
|
|
|
mov sp,#SMALL_STACK
|
|
|
|
call INIT_INT_VECT_TABLE
|
2023-02-19 21:42:59 +00:00
|
|
|
INCLUDE brainfuck_compiler_v1.asm
|
2023-12-03 19:24:12 +00:00
|
|
|
SMALL_STACK:
|
2023-02-19 21:42:59 +00:00
|
|
|
|
2023-12-03 19:24:12 +00:00
|
|
|
INCLUDE dos_layer.asm
|
2023-02-19 21:42:59 +00:00
|
|
|
prog:
|
2023-03-03 19:36:28 +00:00
|
|
|
INCLUDE hello_9086.bf.asm
|
2023-03-09 06:02:41 +00:00
|
|
|
|
|
|
|
|
2023-03-08 07:26:28 +00:00
|
|
|
.ORG 0xFFF0
|
2023-12-03 19:24:12 +00:00
|
|
|
MOV AX,#0xF800
|
2023-03-08 07:26:28 +00:00
|
|
|
JMP AX
|
2023-12-03 19:24:12 +00:00
|
|
|
|
|
|
|
.ORG 0xFFFF
|
|
|
|
DB 0x00 ;Make sure a full 64KiB image
|