diff --git a/include/bbc_kernal.mfk b/include/bbc_kernal.mfk index c6ee7f4e..8746b49b 100644 --- a/include/bbc_kernal.mfk +++ b/include/bbc_kernal.mfk @@ -10,3 +10,5 @@ asm void putchar(byte register(a) char) @$FFE3 extern inline void new_line() { putchar(13) } + +const array __basic_padding = [$EA, $EA] diff --git a/include/bbcmicro.ini b/include/bbcmicro.ini index 595125d3..6820375d 100644 --- a/include/bbcmicro.ini +++ b/include/bbcmicro.ini @@ -8,8 +8,9 @@ modules=bbc_kernal,bbc_hardware,default_panic,stdlib [allocation] ; TODO zp_bytes=$70-$8F -; $0E00 increases chances it will work on Electrons -segment_default_start=$0E00 +; TODO: figure out a better loading scheme +segment_default_start=$1900 +segment_default_layout=__basic_padding,main,* ; The following is for Model B; for Model A, consider changing it to $31FF segment_default_end=$71FF