23 lines
304 B
NASM
23 lines
304 B
NASM
; Interrupt table and routines
|
|
|
|
org 0x100
|
|
output_program:
|
|
|
|
org 0xF800
|
|
mov sp,#SMALL_STACK
|
|
call INIT_INT_VECT_TABLE
|
|
INCLUDE brainfuck_compiler_v1.asm
|
|
SMALL_STACK:
|
|
|
|
INCLUDE dos_layer.asm
|
|
prog:
|
|
INCLUDE hello_9086.bf.asm
|
|
|
|
|
|
.ORG 0xFFF0
|
|
MOV AX,#0xF800
|
|
JMP AX
|
|
|
|
.ORG 0xFFFF
|
|
DB 0x00 ;Make sure a full 64KiB image
|