mirror of https://github.com/zxdos/zxuno.git
utils: separated `rst28` function into `rst28.inc` file
This commit is contained in:
parent
2b6f1f88ce
commit
f882b0ffd2
|
@ -42,6 +42,7 @@ $(BUILD_DIR)/BACK16M: back16m.asm\
|
|||
esxdos.def\
|
||||
Print.inc\
|
||||
rdflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
||||
|
@ -50,6 +51,7 @@ $(BUILD_DIR)/BACKZX2: back32m.asm\
|
|||
esxdos.def\
|
||||
Print.inc\
|
||||
rdflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
echo ' define zxdos 1' >back32m.def
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
@ -60,6 +62,7 @@ $(BUILD_DIR)/BACKZXD: back32m.asm\
|
|||
esxdos.def\
|
||||
Print.inc\
|
||||
rdflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
echo ' define zxdos 0' >back32m.def
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
@ -70,6 +73,7 @@ $(BUILD_DIR)/BACKUP: backup.asm\
|
|||
esxdos.def\
|
||||
Print.inc\
|
||||
rdflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
||||
|
@ -78,6 +82,7 @@ $(BUILD_DIR)/CORCLEAN: corclean.asm\
|
|||
Print.inc\
|
||||
rdflsh.inc\
|
||||
wrflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
||||
|
@ -87,6 +92,7 @@ $(BUILD_DIR)/COREBIOS: corebios.asm\
|
|||
Print.inc\
|
||||
rdflsh.inc\
|
||||
wrflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
||||
|
@ -95,6 +101,7 @@ $(BUILD_DIR)/ROMSBACK: romsback.asm\
|
|||
esxdos.def\
|
||||
Print.inc\
|
||||
rdflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
||||
|
@ -104,6 +111,7 @@ $(BUILD_DIR)/ROMSUPGR: romsupgr.asm\
|
|||
Print.inc\
|
||||
rdflsh.inc\
|
||||
wrflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
||||
|
@ -112,6 +120,7 @@ $(BUILD_DIR)/UPGR16M: upgr16m.asm\
|
|||
esxdos.def\
|
||||
Print.inc\
|
||||
wrflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
||||
|
@ -120,6 +129,7 @@ $(BUILD_DIR)/UPGRZX2: upgr32m.asm\
|
|||
esxdos.def\
|
||||
Print.inc\
|
||||
wrflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
echo ' define zxdos 1' >upgr32m.def
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
@ -130,6 +140,7 @@ $(BUILD_DIR)/UPGRZXD: upgr32m.asm\
|
|||
esxdos.def\
|
||||
Print.inc\
|
||||
wrflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
echo ' define zxdos 0' >upgr32m.def
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
@ -140,6 +151,7 @@ $(BUILD_DIR)/UPGRADE: upgrade.asm\
|
|||
esxdos.def\
|
||||
Print.inc\
|
||||
wrflsh.inc\
|
||||
rst28.inc\
|
||||
| $(BUILD_DIR)
|
||||
$(AS) $(AFLAGS) --raw=$@ $<
|
||||
|
||||
|
|
|
@ -120,12 +120,6 @@ WriteOK ld de, $0040
|
|||
|
||||
include Print.inc
|
||||
include rdflsh.inc
|
||||
|
||||
rst28 ld bc, zxuno_port + $100
|
||||
pop hl
|
||||
outi
|
||||
ld b, (zxuno_port >> 8)+2
|
||||
outi
|
||||
jp (hl)
|
||||
include rst28.inc
|
||||
|
||||
FileName dz FLASH_FILE
|
||||
|
|
|
@ -154,12 +154,6 @@ WriteOK ld de, $0040
|
|||
|
||||
include Print.inc
|
||||
include rdflsh.inc
|
||||
|
||||
rst28 ld bc, zxuno_port + $100
|
||||
pop hl
|
||||
outi
|
||||
ld b, (zxuno_port >> 8)+2
|
||||
outi
|
||||
jp (hl)
|
||||
include rst28.inc
|
||||
|
||||
FileName dz FLASH_FILE
|
||||
|
|
|
@ -104,12 +104,6 @@ WriteOK ld de, $0040
|
|||
|
||||
include Print.inc
|
||||
include rdflsh.inc
|
||||
|
||||
rst28 ld bc, zxuno_port + $100
|
||||
pop hl
|
||||
outi
|
||||
ld b, (zxuno_port >> 8)+2
|
||||
outi
|
||||
jp (hl)
|
||||
include rst28.inc
|
||||
|
||||
FileName dz FLASH_FILE
|
||||
|
|
|
@ -75,12 +75,6 @@ normal ld a, 0
|
|||
include Print.inc
|
||||
include rdflsh.inc
|
||||
include wrflsh.inc
|
||||
|
||||
rst28 ld bc, zxuno_port + $100
|
||||
pop hl
|
||||
outi
|
||||
ld b, (zxuno_port >> 8)+2
|
||||
outi
|
||||
jp (hl)
|
||||
include rst28.inc
|
||||
|
||||
;FileName dz ROMS_FILE
|
||||
|
|
|
@ -133,13 +133,7 @@ normal ld a, 0
|
|||
include Print.inc
|
||||
include rdflsh.inc
|
||||
include wrflsh.inc
|
||||
|
||||
rst28 ld bc, zxuno_port + $100
|
||||
pop hl
|
||||
outi
|
||||
ld b, (zxuno_port >> 8)+2
|
||||
outi
|
||||
jp (hl)
|
||||
include rst28.inc
|
||||
|
||||
FileCore dz CORE_FILE
|
||||
FileBios dz BIOS_FILE
|
||||
|
|
|
@ -154,12 +154,6 @@ wrear0 wreg flash_cs, 0 ; activamos spi, enviando un 0
|
|||
|
||||
include Print.inc
|
||||
include rdflsh.inc
|
||||
|
||||
rst28 ld bc, zxuno_port + $100
|
||||
pop hl
|
||||
outi
|
||||
ld b, (zxuno_port >> 8)+2
|
||||
outi
|
||||
jp (hl)
|
||||
include rst28.inc
|
||||
|
||||
FileName dz ROMS_FILE
|
||||
|
|
|
@ -182,12 +182,6 @@ wrear0 wreg flash_cs, 0 ; activamos spi, enviando un 0
|
|||
include Print.inc
|
||||
include rdflsh.inc
|
||||
include wrflsh.inc
|
||||
|
||||
rst28 ld bc, zxuno_port + $100
|
||||
pop hl
|
||||
outi
|
||||
ld b, (zxuno_port >> 8)+2
|
||||
outi
|
||||
jp (hl)
|
||||
include rst28.inc
|
||||
|
||||
FileName dz ROMS_FILE
|
||||
|
|
|
@ -126,12 +126,6 @@ ReadOK ld a, $40
|
|||
|
||||
include Print.inc
|
||||
include wrflsh.inc
|
||||
|
||||
rst28 ld bc, zxuno_port + $100
|
||||
pop hl
|
||||
outi
|
||||
ld b, (zxuno_port >> 8)+2
|
||||
outi
|
||||
jp (hl)
|
||||
include rst28.inc
|
||||
|
||||
FileName dz FLASH_FILE
|
||||
|
|
|
@ -159,12 +159,6 @@ ReadOK ld a, $40
|
|||
|
||||
include Print.inc
|
||||
include wrflsh.inc
|
||||
|
||||
rst28 ld bc, zxuno_port + $100
|
||||
pop hl
|
||||
outi
|
||||
ld b, (zxuno_port >> 8)+2
|
||||
outi
|
||||
jp (hl)
|
||||
include rst28.inc
|
||||
|
||||
FileName dz FLASH_FILE
|
||||
|
|
|
@ -109,12 +109,6 @@ ReadOK ld a, $40
|
|||
|
||||
include Print.inc
|
||||
include wrflsh.inc
|
||||
|
||||
rst28 ld bc, zxuno_port + $100
|
||||
pop hl
|
||||
outi
|
||||
ld b, (zxuno_port >> 8)+2
|
||||
outi
|
||||
jp (hl)
|
||||
include rst28.inc
|
||||
|
||||
FileName dz FLASH_FILE
|
||||
|
|
Loading…
Reference in New Issue