mirror of
https://github.com/mgcaret/of816.git
synced 2024-06-09 18:29:31 +00:00
Neon816: reset keyboard and make sure clock starts; other minor updates
This commit is contained in:
parent
f1d4d8e5ca
commit
b2ce9a89f9
|
@ -3,7 +3,7 @@ set -e -x
|
||||||
ca65 -I ../../inc Neon816.s -l Neon816.lst
|
ca65 -I ../../inc Neon816.s -l Neon816.lst
|
||||||
ca65 -I ../../inc romboot.s -l romboot.lst
|
ca65 -I ../../inc romboot.s -l romboot.lst
|
||||||
../../build.sh Neon816
|
../../build.sh Neon816
|
||||||
ld65 -C Neon816.l Neon816.o ../../forth.o ./romboot.o -m forth.map -o of816-neon.bin
|
ld65 -vm -C Neon816.l Neon816.o ../../forth.o ./romboot.o -m forth.map -o of816-neon.bin
|
||||||
ls -l of816-neon.bin
|
ls -l of816-neon.bin
|
||||||
if which -s bin2hex; then
|
if which -s bin2hex; then
|
||||||
hex2bin of816-neon.bin > of816-neon.hex
|
hex2bin of816-neon.bin > of816-neon.hex
|
||||||
|
|
|
@ -99,6 +99,13 @@ dword PS2M_FETCH,"PS2M@"
|
||||||
PUSHNEXT
|
PUSHNEXT
|
||||||
eword
|
eword
|
||||||
|
|
||||||
|
dword dKBDRESET,"$KBDRESET"
|
||||||
|
ENTER
|
||||||
|
ONLIT $FF
|
||||||
|
.dword PS2K_STORE
|
||||||
|
EXIT
|
||||||
|
eword
|
||||||
|
|
||||||
; this probably isn't fast enough to reliably set micro and milliseconds
|
; this probably isn't fast enough to reliably set micro and milliseconds
|
||||||
dword SETRTC,"SETRTC"
|
dword SETRTC,"SETRTC"
|
||||||
ENTER
|
ENTER
|
||||||
|
@ -199,6 +206,8 @@ table: .addr _sf_pre_init
|
||||||
.dword drXT ; last word defined in the neon816 dictionary
|
.dword drXT ; last word defined in the neon816 dictionary
|
||||||
.dword rBODY
|
.dword rBODY
|
||||||
.dword STORE
|
.dword STORE
|
||||||
|
.dword GETRTC ; start the clock
|
||||||
|
.dword CLEAR
|
||||||
CODE
|
CODE
|
||||||
jmp _sf_success
|
jmp _sf_success
|
||||||
.endproc
|
.endproc
|
||||||
|
|
|
@ -4,6 +4,6 @@ toke fcode/romloader.fs
|
||||||
ruby mkromfs.rb romfs fs/*
|
ruby mkromfs.rb romfs fs/*
|
||||||
ca65 -I ../../inc W65C816SXB.s -l W65C816SXB.lst
|
ca65 -I ../../inc W65C816SXB.s -l W65C816SXB.lst
|
||||||
../../build.sh W65C816SXB
|
../../build.sh W65C816SXB
|
||||||
ld65 -C W65C816SXB.l -S 0x8000 W65C816SXB.o ../../forth.o -m forth.map -o forth
|
ld65 -vm -C W65C816SXB.l -S 0x8000 W65C816SXB.o ../../forth.o -m forth.map -o forth
|
||||||
ls -l forth
|
ls -l forth
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user