Brume wrote:
...
Just two questions: how did you manage to fix the bootsector? Could we consider is nearly the same as the orginal one?
It was not hard because I have other release, so could see where intro loads . Because further parts of game load via XBIOS 8 calls, normal is to assume that intro loaded too via it. What is btw. common practice (XBIOS calls from bootsector, because no place for longer code), used even by games with custom floppy load code.
Here is complete code:
Code: Select all
* Trying to reconstruct org. bootsector
* 9 sectors/track
* Loading at track 2 :
* Must load higher - crash in TOS 1.02 for instance
lea $40000,a6
moveq #2,d6
ldtr move.w #9,-(sp) * count
move.w #0,-(sp) * side
move.w d6,-(sp) * track
move.w #1,-(sp) * ss
clr.w -(sp) * dev
clr.l -(sp)
pea (a6)
move.w #8,-(sp)
trap #14
lea 20(sp),sp
lea $1200(a6),a6
addq.w #1,d6
cmp.w #44,d6 *
bne.s ldtr
move.w #$2700,sr
lea $40000,a0
lea $6500.w,a1
move.w #45900,d1
.cod move.l (a0)+,(a1)+
dbf d1,.cod
move.l #$C0,$118.w
move.w #$4E73,$C0.w
jmp $6500.w
There was much-much more trouble with bad code and non-working joystick .
Famous Schrodinger's cat hypothetical experiment says that cat is dead or alive until we open box and see condition of poor animal, which deserved better logic. Cat is always in some certain state - regardless from is observer able or not to see what the state is.