copy make get-roms
from x48ng and use it
This commit is contained in:
parent
153dec5721
commit
eb794f8ad1
14 changed files with 26 additions and 1 deletions
24
Makefile
24
Makefile
|
@ -25,6 +25,30 @@ dist/hpemu: src/bus.o \
|
|||
src/timers.o
|
||||
$(CC) $(CFLAGS) $(LIBS) -o $@ $+
|
||||
|
||||
# Installing
|
||||
ROMs/sxrom-a:
|
||||
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-a.zip" --output - | funzip > "ROMs/sxrom-a"
|
||||
ROMs/sxrom-b:
|
||||
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-b.zip" --output - | funzip > "ROMs/sxrom-b"
|
||||
ROMs/sxrom-c:
|
||||
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-c.zip" --output - | funzip > "ROMs/sxrom-c"
|
||||
ROMs/sxrom-d:
|
||||
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-d.zip" --output - | funzip > "ROMs/sxrom-d"
|
||||
ROMs/sxrom-e:
|
||||
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-e.zip" --output - | funzip > "ROMs/sxrom-e"
|
||||
ROMs/sxrom-j:
|
||||
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-j.zip" --output - | funzip > "ROMs/sxrom-j"
|
||||
ROMs/gxrom-l:
|
||||
curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-l.zip" --output - | funzip > "ROMs/gxrom-l"
|
||||
ROMs/gxrom-m:
|
||||
curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-m.zip" --output - | funzip > "ROMs/gxrom-m"
|
||||
ROMs/gxrom-p:
|
||||
curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-p.zip" --output - | funzip > "ROMs/gxrom-p"
|
||||
ROMs/gxrom-r:
|
||||
curl "https://www.hpcalc.org/hp48/pc/emulators/gxrom-r.zip" --output - | funzip > "ROMs/gxrom-r"
|
||||
|
||||
get-roms: ROMs/sxrom-a ROMs/sxrom-b ROMs/sxrom-c ROMs/sxrom-d ROMs/sxrom-e ROMs/sxrom-j ROMs/gxrom-l ROMs/gxrom-m ROMs/gxrom-p ROMs/gxrom-r
|
||||
|
||||
# Cleaning
|
||||
clean:
|
||||
-rm src/*.o
|
||||
|
|
BIN
ROMs/gxrom-l
Normal file
BIN
ROMs/gxrom-l
Normal file
Binary file not shown.
BIN
ROMs/gxrom-m
Normal file
BIN
ROMs/gxrom-m
Normal file
Binary file not shown.
BIN
ROMs/gxrom-p
Normal file
BIN
ROMs/gxrom-p
Normal file
Binary file not shown.
BIN
ROMs/gxrom-r
Normal file
BIN
ROMs/gxrom-r
Normal file
Binary file not shown.
BIN
ROMs/sxrom-a
Normal file
BIN
ROMs/sxrom-a
Normal file
Binary file not shown.
BIN
ROMs/sxrom-b
Normal file
BIN
ROMs/sxrom-b
Normal file
Binary file not shown.
BIN
ROMs/sxrom-c
Normal file
BIN
ROMs/sxrom-c
Normal file
Binary file not shown.
BIN
ROMs/sxrom-d
Normal file
BIN
ROMs/sxrom-d
Normal file
Binary file not shown.
BIN
ROMs/sxrom-e
Normal file
BIN
ROMs/sxrom-e
Normal file
Binary file not shown.
BIN
ROMs/sxrom-j
Normal file
BIN
ROMs/sxrom-j
Normal file
Binary file not shown.
BIN
dist/hpemu.rom
vendored
BIN
dist/hpemu.rom
vendored
Binary file not shown.
1
dist/rom
vendored
Symbolic link
1
dist/rom
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
../ROMs/gxrom-r
|
|
@ -13,7 +13,7 @@
|
|||
void rom_init( void )
|
||||
{
|
||||
int size;
|
||||
char* name = "hpemu.rom";
|
||||
char* name = "rom";
|
||||
byte *buf, *ptr1, *ptr2;
|
||||
FILE* f;
|
||||
|
||||
|
|
Loading…
Reference in a new issue