sms: working on real hardware!

This commit is contained in:
Virgil Dupras 2020-05-15 21:49:10 -04:00
parent 7ceff6144c
commit f2817870aa
3 changed files with 4 additions and 0 deletions

View File

@ -6,4 +6,5 @@
( sprite, inverted colors ) 0x3f _data 15 _zero ( sprite, inverted colors ) 0x3f _data 15 _zero
0x4000 _ctl 0x5e 0 DO ~FNT I 7 * + _sfont LOOP 0x4000 _ctl 0x5e 0 DO ~FNT I 7 * + _sfont LOOP
0 XYPOS ! 0 XYPOS !
( bit 6, enable display, bit 7, ?? ) 0x81c0 _ctl
; ;

View File

@ -7,6 +7,9 @@ all: $(TARGET)
$(TARGET): xcomp.fs $(STAGE) $(TARGET): xcomp.fs $(STAGE)
cat xcomp.fs | $(STAGE) > $@ cat xcomp.fs | $(STAGE) > $@
os.sms: $(TARGET)
dd if=$(TARGET) bs=32752 conv=sync | cat - sega.bin > $@
$(EMUL): $(EMUL):
$(MAKE) -C ${@:%/sms=%} $(MAKE) -C ${@:%/sms=%}

BIN
recipes/sms/sega.bin Normal file

Binary file not shown.