Routine to bypass a firmware

Page 4/10
1 | 2 | 3 | | 5 | 6 | 7 | 8 | 9

By sdsnatcher73

Prophet (3413)

sdsnatcher73's picture

01-07-2022, 16:39

HX-34 does not boot into firmware afaik.

By mars2000you

Enlighted (6269)

mars2000you's picture

01-07-2022, 16:48

gdx wrote:
mars2000you wrote:

I like analogies!

Where is the analogy?

Skipping a firmware with a routine is similar to modifying a game with a script, although the used 'tricks' are very different.

By mars2000you

Enlighted (6269)

mars2000you's picture

01-07-2022, 16:58

sdsnatcher73 wrote:

HX-34 does not boot into firmware afaik.

Indeed ... you must use CALL JWP or CALL EWP according which Word Processor you want to use.

But maybe the presence of this firmware can sometimes interfere (as it's the case with the P-BASIC ROM on Pioneer MSX1 computers even if you choose the option without P-BASIC on the menu after booting).

By gdx

Enlighted (5598)

gdx's picture

01-07-2022, 17:15

sdsnatcher73 wrote:

HX-34 does not boot into firmware afaik.

This video made me think that it is.
https://www.youtube.com/watch?v=jbE4px-Mk0c

mars2000you wrote:

Skipping a firmware with a routine is similar to modifying a game with a script, although the used 'tricks' are very different.

I don't think because they modify nothing in the firmware and doesn't slow either. We can't even say it's a trick because it's a manufacturer's intended function. Either it wasn't documented or we missed it.

By sdsnatcher73

Prophet (3413)

sdsnatcher73's picture

01-07-2022, 17:18

gdx wrote:
sdsnatcher73 wrote:

HX-34 does not boot into firmware afaik.

This video made me think that it is.
https://www.youtube.com/watch?v=jbE4px-Mk0c

HX-34I does not exist AFAIK, this seems to be a European MSX2 with the firmware from HX-22I, maybe someone was playful in openMSX or he has an unreleased machine? HX-34 does definitely not boot into firmware.

By mars2000you

Enlighted (6269)

mars2000you's picture

01-07-2022, 17:22

Besides, there is no 'red' menu when using CALL EWP on HX-34. You can check that on openMSX.

By gdx

Enlighted (5598)

gdx's picture

02-07-2022, 09:32

gdx wrote:

Sony HB-F1, HB-F1II and HB-F9P/S:

Theses firmwares are bypassed when the Hook H.STKE (0FEDAh) is used.

; Routine to Bypass the HB-F1, HB-F1II and HB-F9P/S Firmware


H_STKE	equ	0FEDAh

	org	4000h

RomHeader:
	dw	4241h,4010h,0,0,0,0,0,0

	bit	7,h
	ret	nz		; Back if Rom mirror

	ld	hl,H_STKE
	ld	de,0c100h
	ld	bc,5
	ldir			; Copy the current Hook in case another ROM uses it
	
	ld	hl,NewHook
	ld	de,H_STKE
	ld	bc,5
	ldir			; Set the new hook

	ld	hl,Adding
	ld	de,0c100h-5
	ld	bc,5
	ldir			; Adding to disable the H_STKE hook

	ret

NewHook:
	call	0c100h-5
	ret
	ret

Adding:
	ld	a,0c9h
	ld	(H_STKE),a	; Disable the H_STKE hook
	
	ds	8000h - $,0	; Fill with 0 to make a 16K ROM

This routine also works for computers: Mitsubishi ML-G1, National FS-4000, FS-4500, FS-4600, FS-4700, Toshiba HX-21I, HX-22I, HX-23I, Sony HB-55P, HB-75D, HB-75P, HB-101, HB-101P, HB-201, HB-201P, HB-F1, HB-F1II, HB-F9P/S and probably a few others.
So specific routine above for the HB-201 & HB-201P is no longer useful.

Now, every people can make disk interfaces that avoid running a large number of firmwares ! Smile

By sdsnatcher73

Prophet (3413)

sdsnatcher73's picture

02-07-2022, 11:38

Philips NMS8220 also works with above routine?

By gdx

Enlighted (5598)

gdx's picture

02-07-2022, 12:50

No, I haven't found a solution to bypass it. That's why I made a patch.

By Wierzbowsky

Guardian (3443)

Wierzbowsky's picture

05-07-2022, 11:47

I tried to put the universal firmware bypass routine (above) into Carnivore2's Boot Menu. The firmware is indeed bypassed, but Nextor doesn't work, the machine falls into Basic and the CF card gives an error on access. I haven't figured out why Nextor is not booting, is it also using that H_STKE hook and we need some sort of filter whose hooks to remove? The Hitachi H3 firmware puts a call to itself into the hook for sure.

Page 4/10
1 | 2 | 3 | | 5 | 6 | 7 | 8 | 9