copy make get-roms from x48ng and use it

This commit is contained in:
Gwenhael Le Moine 2024-03-20 21:04:48 +01:00
parent 153dec5721
commit eb794f8ad1
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
14 changed files with 26 additions and 1 deletions

View file

@ -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

Binary file not shown.

BIN
ROMs/gxrom-m Normal file

Binary file not shown.

BIN
ROMs/gxrom-p Normal file

Binary file not shown.

BIN
ROMs/gxrom-r Normal file

Binary file not shown.

BIN
ROMs/sxrom-a Normal file

Binary file not shown.

BIN
ROMs/sxrom-b Normal file

Binary file not shown.

BIN
ROMs/sxrom-c Normal file

Binary file not shown.

BIN
ROMs/sxrom-d Normal file

Binary file not shown.

BIN
ROMs/sxrom-e Normal file

Binary file not shown.

BIN
ROMs/sxrom-j Normal file

Binary file not shown.

BIN
dist/hpemu.rom vendored

Binary file not shown.

1
dist/rom vendored Symbolic link
View file

@ -0,0 +1 @@
../ROMs/gxrom-r

View file

@ -13,7 +13,7 @@
void rom_init( void )
{
int size;
char* name = "hpemu.rom";
char* name = "rom";
byte *buf, *ptr1, *ptr2;
FILE* f;