23 lines
345 B
NASM
23 lines
345 B
NASM
;I got this down to 11428 bytes
|
|
|
|
org 0x100
|
|
output_program:
|
|
|
|
org 0xD000
|
|
mov sp,#SMALL_STACK
|
|
call INIT_INT_VECT_TABLE
|
|
INCLUDE brainfuck_compiler_v1.asm
|
|
SMALL_STACK:;Stack of compiler is at the end of file
|
|
|
|
INCLUDE dos_layer.asm
|
|
prog:
|
|
INCLUDE mandelbrot.bf.asm
|
|
|
|
|
|
.ORG 0xFFF0
|
|
MOV AX,#0xD000
|
|
JMP AX
|
|
|
|
.ORG 0xFFFF
|
|
DB 0x00 ;Make sure a full 64KiB image
|