2023-12-03 19:24:12 +00:00
|
|
|
;I got this down to 11428 bytes
|
|
|
|
|
|
|
|
org 0x100
|
|
|
|
output_program:
|
2023-03-09 06:02:41 +00:00
|
|
|
|
2023-12-03 19:24:12 +00:00
|
|
|
org 0xD000
|
|
|
|
mov sp,#SMALL_STACK
|
|
|
|
call INIT_INT_VECT_TABLE
|
2023-02-24 17:36:41 +00:00
|
|
|
INCLUDE brainfuck_compiler_v1.asm
|
2023-12-03 19:24:12 +00:00
|
|
|
SMALL_STACK:;Stack of compiler is at the end of file
|
2023-02-16 01:46:22 +00:00
|
|
|
|
2023-12-03 19:24:12 +00:00
|
|
|
INCLUDE dos_layer.asm
|
2023-02-19 00:20:53 +00:00
|
|
|
prog:
|
2023-03-03 19:36:28 +00:00
|
|
|
INCLUDE mandelbrot.bf.asm
|
2023-02-24 17:36:41 +00:00
|
|
|
|
2023-03-08 07:26:28 +00:00
|
|
|
|
|
|
|
.ORG 0xFFF0
|
2023-12-03 19:24:12 +00:00
|
|
|
MOV AX,#0xD000
|
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
|