View Single Post
Old 11 September 2021, 13:15   #1
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,604
Correct way to hard reset in the bootblock on 1.3-3.1?

I've updated a boot block which works correctly on 1.3-3.1. However, a hard reset consistently puts a PAL 1.3 A500 in NTSC mode until I've booted to CLI once and soft reset manually.

What can I do to prevent this?

The bootdisk is found here, and here's the relevant portion of code:

Code:
;a6=execbase, -$1e=Supervisor()
HardReset:
	clr.l $26(a6)
SoftReset:
	lea RCont(PC),a5
	JSR -$1e(a6)
RCont:	lea 2.w,a0
	RESET
	JMP (a0)
Photon is offline  
 
Page generated in 0.05420 seconds with 11 queries