(Tim) Efthimis Kritikos
1966ab78b4
I'm happy to have reached 200 commits and with this, version v0.3.0 is functionally ready. I still need to do a fair bit of cleanup and bug fixing though before the actual release. With this commit I added a CPU I2C driver as well as a basic arbiter to have the hardware lcd controller and the software i2c communication pass through the same I2C driver and I2C bus. I also wrote a bootloader that reads code from an i2c eeprom to make sure the hardware works.
23 lines
345 B
NASM
23 lines
345 B
NASM
;I got this down to 11428 bytes
|
|
|
|
org 0x100
|
|
output_program:
|
|
|
|
org 0xC000
|
|
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,#0xC000
|
|
JMP AX
|
|
|
|
.ORG 0xFFFF
|
|
DB 0x00 ;Make sure a full 64KiB image
|