Skip to content

Commit

Permalink
libticalcs: support ROM dumps for the 82A, they're possible after usa…
Browse files Browse the repository at this point in the history
…ge of ACE/RCE vulnerabilities. Reported by Gerald "grosged" DeGroote, who patched the ROM dumper to use a ION-style header for CalcUtil/NoShell.

Signed-off-by: Lionel Debroux <[email protected]>
  • Loading branch information
debrouxl committed Aug 12, 2020
1 parent a41993b commit 183b240
Show file tree
Hide file tree
Showing 5 changed files with 219 additions and 3 deletions.
5 changes: 4 additions & 1 deletion libticalcs/trunk/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ rom84p.h: romdump_84p_usb/dump84p.8xp $(tf2hex)
rom84pcu.h: romdump_84p_usb/dump84pcu.8xp $(tf2hex)
$(tf2hex) romdump_84p_usb/dump84pcu.8xp $(srcdir)/rom84pcu.h 84pcu

romdump_84p_usb/dump84p.8xp romdump_84p_usb/dump84pcu.8xp:
rom82a.h: romdump_84p_usb/dump82a.8xp $(tf2hex)
$(tf2hex) romdump_84p_usb/dump82a.8xp $(srcdir)/rom82a.h 82a

romdump_84p_usb/dump84p.8xp romdump_84p_usb/dump84pcu.8xp romdump_84p_usb/dump82a.8xp:
cd romdump_84p_usb && $(MAKE)

rom834pceu.h: romdump_834pce_usb/dump834pceu.8xp $(tf2hex)
Expand Down
7 changes: 6 additions & 1 deletion libticalcs/trunk/src/calc_84p.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include "dusb_cmd.h"
#include "rom84p.h"
#include "rom84pcu.h"
#include "rom82a.h"
#include "rom834pceu.h"
#include "romdump.h"
#include "keys83p.h"
Expand Down Expand Up @@ -1219,6 +1220,10 @@ static int dump_rom_1 (CalcHandle* handle)
{
ret = rd_send(handle, "romdump.8Xp", romDumpSize84pcu, romDump84pcu);
}
else if (infos.model == CALC_TI82A_USB)
{
ret = rd_send(handle, "romdump.8Xp", romDumpSize82a, romDump82a);
}
else if (infos.model == CALC_TI84PCE_USB || infos.model == CALC_TI83PCE_USB)
{
ret = rd_send(handle, "romdump.8Xp", romDumpSize834pceu, romDump834pceu);
Expand Down Expand Up @@ -2292,7 +2297,7 @@ extern const CalcFncts calc_82a_usb =
"TI-82 Advanced",
N_("TI-82 Advanced thru DirectLink"),
OPS_ISREADY | OPS_SCREEN | OPS_DIRLIST | OPS_VARS | /*OPS_FLASH |*/ OPS_OS |
OPS_IDLIST | /*OPS_ROMDUMP |*/ OPS_CLOCK | OPS_DELVAR | OPS_VERSION | OPS_BACKUP | OPS_KEYS |
OPS_IDLIST | OPS_ROMDUMP | OPS_CLOCK | OPS_DELVAR | OPS_VERSION | OPS_BACKUP | OPS_KEYS |
OPS_RENAME | OPS_CHATTR |
FTS_SILENT | FTS_MEMFREE | FTS_FLASH,
PRODUCT_ID_TI82A,
Expand Down
196 changes: 196 additions & 0 deletions libticalcs/trunk/src/rom82a.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
static unsigned char romDump82a[] = {
0x2a, 0x2a, 0x54, 0x49, 0x38, 0x33, 0x46, 0x2a,
0x1a, 0x0a, 0x00, 0x43, 0x72, 0x65, 0x61, 0x74,
0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x74, 0x69,
0x70, 0x61, 0x63, 0x6b, 0x20, 0x30, 0x2e, 0x31,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0xcb, 0x05, 0x0d,
0x00, 0xba, 0x05, 0x06, 0x52, 0x4f, 0x4d, 0x44,
0x55, 0x4d, 0x50, 0x00, 0x00, 0x00, 0xba, 0x05,
0xb8, 0x05, 0xbb, 0x6d, 0xaf, 0x00, 0x00, 0xdb,
0x06, 0xf5, 0xcd, 0x90, 0xa2, 0xf1, 0xd3, 0x06,
0xed, 0x73, 0x72, 0x98, 0xcd, 0xc2, 0x9d, 0xcd,
0xe7, 0xa0, 0x30, 0x20, 0xcd, 0x57, 0xa0, 0x30,
0x1b, 0xed, 0x7b, 0x72, 0x98, 0xcd, 0xc2, 0x9d,
0x21, 0x2c, 0x9f, 0xef, 0x0a, 0x45, 0xef, 0x72,
0x49, 0xef, 0x40, 0x45, 0xef, 0x58, 0x45, 0xfd,
0xcb, 0x09, 0xa6, 0xc9, 0x21, 0xd5, 0x9e, 0xef,
0x0a, 0x45, 0xfd, 0xcb, 0x41, 0xae, 0x21, 0x00,
0x80, 0xcd, 0x0e, 0xa0, 0x38, 0xd3, 0x2a, 0x00,
0x80, 0x11, 0x02, 0x00, 0xef, 0x0c, 0x40, 0x28,
0x1a, 0x11, 0x03, 0x00, 0xef, 0x0c, 0x40, 0x28,
0x1d, 0x11, 0x05, 0x00, 0xef, 0x0c, 0x40, 0x28,
0x4c, 0x11, 0x55, 0xaa, 0xef, 0x0c, 0x40, 0x28,
0x36, 0x18, 0xd3, 0x11, 0x02, 0x00, 0x01, 0x00,
0x00, 0xcd, 0xa2, 0x9f, 0x18, 0xb3, 0x21, 0x74,
0x98, 0x36, 0x00, 0x23, 0x36, 0x00, 0x23, 0xdb,
0x21, 0xe6, 0x03, 0x3e, 0x10, 0x28, 0x01, 0x87,
0x77, 0x23, 0x36, 0x00, 0x3e, 0x81, 0x21, 0x74,
0x58, 0x11, 0x03, 0x00, 0x01, 0x04, 0x00, 0xcd,
0xa2, 0x9f, 0xda, 0xb2, 0x9d, 0x18, 0x9f, 0x11,
0x01, 0x00, 0x01, 0x00, 0x00, 0xcd, 0xa2, 0x9f,
0xda, 0xb2, 0x9d, 0x18, 0x91, 0xdd, 0x21, 0x04,
0x80, 0xdd, 0x6e, 0x00, 0xdd, 0x66, 0x01, 0xdd,
0x5e, 0x02, 0xdd, 0x56, 0x03, 0x01, 0x02, 0x04,
0xed, 0x43, 0x4b, 0x84, 0x7b, 0xcd, 0x30, 0xa0,
0x7c, 0xcd, 0x30, 0xa0, 0x7d, 0xcd, 0x30, 0xa0,
0x7b, 0x87, 0x87, 0x11, 0x00, 0x40, 0xb7, 0xed,
0x52, 0x38, 0x03, 0x3c, 0x18, 0xf5, 0x19, 0x11,
0x00, 0x40, 0x19, 0xe5, 0x32, 0xeb, 0x83, 0xdb,
0x06, 0xf5, 0x3a, 0xeb, 0x83, 0xd3, 0x06, 0x56,
0x01, 0x00, 0x04, 0x7e, 0xba, 0x20, 0x06, 0x23,
0x0b, 0x78, 0xb1, 0x20, 0xf6, 0xc1, 0x78, 0xd3,
0x06, 0xe1, 0x28, 0x12, 0x3a, 0xeb, 0x83, 0x11,
0x06, 0x00, 0x01, 0x00, 0x04, 0xcd, 0xa2, 0x9f,
0xda, 0xb2, 0x9d, 0xc3, 0xd7, 0x9d, 0xdd, 0x21,
0x78, 0x84, 0xdd, 0x36, 0x00, 0x00, 0xdd, 0x36,
0x01, 0x04, 0xdd, 0x72, 0x02, 0xdd, 0x72, 0x03,
0x3e, 0x81, 0x21, 0x78, 0x44, 0x11, 0x07, 0x00,
0x01, 0x04, 0x00, 0xcd, 0xa2, 0x9f, 0xda, 0xb2,
0x9d, 0xc3, 0xd7, 0x9d, 0x44, 0x75, 0x6d, 0x70,
0x69, 0x6e, 0x67, 0xce, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x50, 0x72, 0x65, 0x73,
0x73, 0x20, 0xc1, 0x4f, 0x4e, 0x5d, 0x20, 0x74,
0x6f, 0x20, 0x20, 0x20, 0x61, 0x62, 0x6f, 0x72,
0x74, 0x2e, 0x00, 0x45, 0x52, 0x52, 0x4f, 0x52,
0x21, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x54, 0x68, 0x65, 0x72, 0x65,
0x20, 0x77, 0x61, 0x73, 0x20, 0x61, 0x6e, 0x20,
0x20, 0x20, 0x20, 0x75, 0x6e, 0x6b, 0x6e, 0x6f,
0x77, 0x6e, 0x20, 0x55, 0x53, 0x42, 0x20, 0x20,
0x20, 0x20, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72,
0x2e, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x50, 0x72, 0x65, 0x73, 0x73,
0x20, 0x61, 0x6e, 0x79, 0x20, 0x6b, 0x65, 0x79,
0x20, 0x74, 0x6f, 0x71, 0x75, 0x69, 0x74, 0x2e,
0x00, 0xf3, 0xc5, 0x32, 0xeb, 0x83, 0xdb, 0x06,
0xf5, 0x3e, 0x83, 0xd3, 0x06, 0xe5, 0x21, 0x00,
0x40, 0x73, 0x23, 0x72, 0x23, 0x71, 0x23, 0x70,
0x23, 0xeb, 0xe1, 0x78, 0xb1, 0x28, 0x25, 0xc5,
0x3a, 0xeb, 0x83, 0xd3, 0x06, 0x7e, 0xf5, 0x3e,
0x83, 0xd3, 0x06, 0xf1, 0x12, 0x23, 0xcb, 0x7c,
0x28, 0x0b, 0xcb, 0xbc, 0xcb, 0xf4, 0x3a, 0xeb,
0x83, 0x3c, 0x32, 0xeb, 0x83, 0x13, 0x0b, 0x78,
0xb1, 0x20, 0xdd, 0xc1, 0x03, 0x03, 0x03, 0x03,
0x21, 0x00, 0x40, 0x11, 0x00, 0x00, 0x7e, 0x23,
0x83, 0x5f,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, 0x98, 0xef, 0xda, 0x47, 0xed,
0x73, 0x3c, 0x98, 0xcd, 0xe3, 0xa2, 0xf1, 0xc1,
0x18, 0x4a, 0x3a, 0x94, 0x50, 0x57, 0x21, 0x00,
0x81, 0x01, 0x30, 0x01, 0x3e, 0xed, 0xed, 0xb1,
0xc0, 0x7e, 0xd6, 0xa0, 0x20, 0xf6, 0x4e, 0x47,
0x23, 0x22, 0xdb, 0x84, 0x2a, 0x92, 0x50, 0x3c,
0x32, 0x34, 0x98, 0xb7, 0xc4, 0x30, 0xa3, 0x3e,
0x3a, 0xed, 0xb1, 0xc0, 0x11, 0x02, 0xa3, 0x1a,
0xbe, 0x20, 0xf4, 0x23, 0x13, 0xfe, 0xc4, 0x20,
0xf6, 0xef, 0x09, 0x40, 0xfd, 0x21, 0x31, 0x00,
0xe9, 0x31, 0x00, 0x00, 0xe1, 0xf1, 0x77, 0xbe,
0x20, 0xfd, 0x36, 0xf0, 0xfd, 0xe1, 0xc9, 0xdb,
0x02, 0x87, 0x3e, 0x1f, 0x30, 0x09, 0xdb, 0x21,
0xe6, 0x03, 0x3e, 0x7f, 0x20, 0x01, 0x1f, 0xa2,
0xd3, 0x06, 0xc9, 0xbe, 0x23, 0x3f, 0xc0, 0x7e,
0xb8, 0xc9, 0x6f, 0x6d,
};
static unsigned int romDumpSize82a = 1540;
6 changes: 6 additions & 0 deletions libticalcs/trunk/src/romdump_84p_usb/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ dump84p.bin: romdump.z80
dump84pcu.bin: romdump.z80
$(PASMO) $(PASMOFLAGS) -E TI84PC $(srcdir)/romdump.z80 dump84pcu.bin

dump82a.bin: romdump.z80
$(PASMO) $(PASMOFLAGS) -E TI82A $(srcdir)/romdump.z80 dump82a.bin

dump84p.8xp: dump84p.bin
$(TIPACK) -n 'ROMDUMP' dump84p.bin -p -o dump84p.8xp

dump84pcu.8xp: dump84pcu.bin
$(TIPACK) -n 'ROMDUMP' dump84pcu.bin -p -o dump84pcu.8xp

dump82a.8xp: dump82a.bin
$(TIPACK) -n 'ROMDUMP' dump82a.bin -p -o dump82a.8xp
8 changes: 7 additions & 1 deletion libticalcs/trunk/src/romdump_84p_usb/romdump.z80
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,20 @@ outputBuffer equ appBackUpScreen+2
org userMem-2
if defined TI84P
db 0BBh,6Dh
B_CALL _runIndicOff
endif
if defined TI84PC
db 0EFh,69h
res appTextSave,(iy+appFlags)
ld a,1
out (20h),a
endif
B_CALL _runIndicOff
endif
if defined TI82A
; ION-style header for CalcUtil
xor a,a
db 00h,00h
endif
; Unlock Flash, if possible.
; The purpose is to get an accurate dump of the certificate page (page 3Eh/7Eh).
if defined TI84P
Expand Down

0 comments on commit 183b240

Please sign in to comment.