made gfx more working...
This commit is contained in:
parent
3ae44eaab3
commit
6965f4ff36
8 changed files with 94 additions and 58 deletions
|
|
@ -10,13 +10,36 @@ $(GFX_BIN):
|
|||
|
||||
# TODO: add unittot.ge5
|
||||
|
||||
#1 SCREEN 5 : SETPAGE 1,1
|
||||
#2 BLOAD"units.ge5",S : COLOR=RESTORE
|
||||
#3 SETPAGE 2,2
|
||||
#4 BLOAD"2row.ge5",S
|
||||
#5 SETPAGE 1,1
|
||||
#6 COPY (0,0)-(256,32),2 TO (0,208),1
|
||||
#7 BSAVE"unit.pop",&H8000,&HFFFF,S
|
||||
|
||||
$(GFX_BIN)/%.zop: $(GFX_SRC)/%.ge5 | $(GFX_BIN)
|
||||
cp $< $@;
|
||||
unix2dos -n $(GFX_SRC)/autoexec.bat $(GFX_BIN)/autoexec.bat;
|
||||
echo "popcom $(notdir $@)\r" >> $(GFX_BIN)/autoexec.bat;
|
||||
echo "cut $(notdir $@)\r" >> $(GFX_BIN)/autoexec.bat;
|
||||
echo "copy $(patsubst %.zop,%.pop,$(notdir $@)) $(notdir $@)\r" >> $(GFX_BIN)/autoexec.bat;
|
||||
echo "omsxctl exit\r" >> $(GFX_BIN)/autoexec.bat;
|
||||
echo "basic conv.bas\r" >> $(GFX_BIN)/autoexec.bat;
|
||||
|
||||
echo "10 SCREEN 5 : SETPAGE 1,1\r" > $(GFX_BIN)/conv.bas;
|
||||
echo "20 BLOAD\"$(notdir $@)\",S : COLOR=RESTORE\r" >> $(GFX_BIN)/conv.bas;
|
||||
echo "30 BSAVE\"$(notdir $@)\",&H0000,&H7FFF,S\r" >> $(GFX_BIN)/conv.bas;
|
||||
echo "40 _SYSTEM(\"pop.bat\")\r" >> $(GFX_BIN)/conv.bas;
|
||||
|
||||
echo "\r" > $(GFX_BIN)/pop.bat;
|
||||
echo "mode 80\r" >> $(GFX_BIN)/pop.bat;
|
||||
echo "popcom $(notdir $@)\r" >> $(GFX_BIN)/pop.bat;
|
||||
echo "echo \"All done..................\"\r" >> $(GFX_BIN)/pop.bat;
|
||||
echo "omsxctl exit\r" >> $(GFX_BIN)/pop.bat;
|
||||
$(call run_openmsx_dos2, $(GFX_BIN))
|
||||
|
||||
gfx-test: gfx
|
||||
unix2dos -n $(GFX_SRC)/autoexec.bat $(GFX_BIN)/autoexec.bat;
|
||||
echo "omsxctl set renderer SDL\r" >> $(GFX_BIN)/autoexec.bat;
|
||||
echo "omsxctl set throttle on\r" >> $(GFX_BIN)/autoexec.bat;
|
||||
echo "omsxctl set speed 200\r" >> $(GFX_BIN)/autoexec.bat;
|
||||
$(call run_openmsx_dos2, $(GFX_BIN))
|
||||
|
||||
gfx: $(GFX_BIN_FILES)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue