~rabbits/potato

c42b48d0eeef3fcfb98592f48d402f6d0f8843be — Devine Lu Linvega a month ago cf1d893
Fixed issue with loading roms
2 files changed, 8 insertions(+), 9 deletions(-)

M src/assets.tal
M src/potato.tal
M src/assets.tal => src/assets.tal +3 -3
@@ 299,9 299,9 @@ ffff 7eff e7ff 00ff ffff ffff ffff ffff a0a0 a0a0 a0a0 60e0 f0f0 f0f0 f0f0 f0f0
( blobs )

@loader-rom
	8000 8000 0711 0106 80f7 0d02 a001 00af
	80ac 37a0 ffd5 80a2 36ef 3826 8000 0505
	1521 aa80 f50d 2222 6f2c
	8000 8000 0711 0106 20ff f702 a001 00af
	80ac 37a0 ffd5 80a2 36ef 38af 8000 6f15
	21aa 20ff f622 226f 2c00
@notes
	30 32 34 35
	37 39 3b 3c

M src/potato.tal => src/potato.tal +5 -6
@@ 318,7 318,7 @@ JMP2r
	DUP2 ;dict/chr-ext has-ext ?open-pict
	DUP2 ;dict/uf2-ext has-ext ?open-font
	DUP2 ;dict/pcm-ext has-ext ?open-sound
	DUP2 ;dict/rom-ext has-ext ?open-load
	DUP2 ;dict/rom-ext has-ext ?open-rom
	DUP2 #0005 ADD2 ;dict/theme-ext scmp ?open-theme
	!open-text



@@ 367,16 367,15 @@ JMP2r

( .. )

@open-load ( file* -- )
@open-rom ( file* -- )

	#0005 ADD2 make-src .File/name DEO2
	#fe00 .File/length DEO2
	;loader-rom #ffd5 #002a mcpy
	;loader-rom #ffd6 #0029 mcpy
	clear-screen
	POP2r POP2r
	#ffd5 JMP2
	POP2r #ffd6

JMP2r
JMP2 ( -> )

@open-pict ( file* -- )