BTII CHAR Disk - T11 S17??

Any developer realated stuff
Post Reply
User avatar
Darendor
Posts: 1502
Joined: Wed Jan 14, 2009 1:53 am
Location: Red Deer, Alberta, Canada

BTII CHAR Disk - T11 S17??

Post by Darendor »

So I've been trying to find where the game credits file resides on the stupid Character disk, to no avail.

It seems my "decloaked" disk doesn't have this file decloaked.

Pressing "!" loads the credits, according to the "Movement Engine" file, into memory at $9a00. According to that, it sets $e0 to #$83, which is 69 decimal, which points to track 11, sector 17 according to the T/S table that Weber G found.

However, when I try to go to T11 S17 in DirMaster, it tells me that it's a single block of 256 bytes with no other sector chains. Trying to decode the EOR'd bytes into something half sane gives me this mess:

Code: Select all

DirMaster Sector Editor T11 S17

$ca, $7a, $e2	JSR $0890
4f, $b0, 	LDA $5a
$c3, $e9,	AND #$03
$3a, $e3, 	BNE $09(whatever this means)
$43, $ea, 	LDA #$00
$6f, $0b,	STA $e1
$43, $15, 	LDA #$ff
$ca, $73, $e2, 	JSR $0899
$47, $72, e9,	LDA $0398
$c3, $ed,	AND #$07
$42,		TAY
$54, $4f, $70, 	LDX $9aa5
$ca, $f1, $e2,	JSR $081b
$43, $70, 	LDA #$9a
$6f, $b3,	STA $59
$43, $83,	LDA #$69
$6f, $b2, 	STA $58
$ca, $e5, $e2, 	JSR $080f
$ca, $0b, $e2,	JSR $08e1
$4a, $70, 	LDY #$9a
$48, $98, 	LDX #$72
$ca, $ec, $e2,	JSR $0806
$ca, $92, $e2, 	JSR $0878
$ca, $6d, $e2, 	JSR $0887
$23, $2f,	CMP #$c5
$3a, $1c	BNE $f6(whatever this means)
$4c, $ce, $57, 	JMP $bd24
$4b, $70, $6f, $ce, $ca, $bb, $70, $43, $ea, $6f, $c5, $ca, $0b, $e2, $a6, $ea, $7a, $4f, $ce, $1a, $e1, $23, $eb, $1a, $e7, $23, $e8, $1a, $ec, $2c, $c3, $8a, $0c, $c2, $8a, $2c, $c2, $8a, $0c, $c3, $8a, $28, $1f, $03, $06, $0e, $03, $04, $0d, $36, $33, $05, $1f, $4a, $0b, $18, $0f, $4a, $03, $04, $4a, $0b, $04, $4a, $0f, $07, $1a, $1e, $13, $4a, $08, $1f, $03, $06, $0e, $03, $04, $0d, $44, $ea, $ea, $42, $2f, $43, $12, $03, $1e, $4a, $08, $1f, $03, $06, $0e, $03, $04, $0d, $15, $e8, $e9, $ea, $eb, $ea, $fa, $fb, $f8, $f9, $23, $e8, $5a, $b8, $23, $eb, $3a, $e1, $47, $2a, $49, $f2, $83, $fe, $5a, $e9, $67, $2a, $49, $47, $60, $e9, $23, $ef, $7a, $e1, $47, $2a, $49, $f2, $83, $e0, $5a, $e9, $67, $2a, $49, $4a, $ce, $ca, $cb, $e2, $5a, $f7, $43, $ea, $67, $2b, $49, $ca, $e2, $71, $4a, $ce, $ca, $cb, $e2, $7a, $e9, $04, $2b, $49, $ca, $18, $71, $ca, $e6, $e2, $ca, $e6, $e2, $f2, $8a, $ca, $e6, $e2, $ca, $e6, $e2, $4a, $4e, $48

Help? :?
Weber G
Posts: 125
Joined: Tue Dec 15, 2020 9:58 am

Re: BTII CHAR Disk - T11 S17??

Post by Weber G »

Are you really sure, that 83h => 69dec?
User avatar
Darendor
Posts: 1502
Joined: Wed Jan 14, 2009 1:53 am
Location: Red Deer, Alberta, Canada

Re: BTII CHAR Disk - T11 S17??

Post by Darendor »

Weber G wrote: Fri Jan 15, 2021 10:51 am Are you really sure, that 83h => 69dec?
Image

[Commence swearing]

Okay, so I guess it isn't 69, but 131.

Still, what's at T11 S17?
Weber G
Posts: 125
Joined: Tue Dec 15, 2020 9:58 am

Re: BTII CHAR Disk - T11 S17??

Post by Weber G »

Why 11/17? At 69h is 22/8.
User avatar
Darendor
Posts: 1502
Joined: Wed Jan 14, 2009 1:53 am
Location: Red Deer, Alberta, Canada

Re: BTII CHAR Disk - T11 S17??

Post by Darendor »

Weber G wrote: Fri Jan 15, 2021 6:59 pm Why 11/17? At 69h is 22/8.
According to your data table, the 131st byte for T is: 17 > 23 Dec
According to your data table, the 131st byte for S is: 16> 22 Dec


So, uh, what am I missing here?
Weber G
Posts: 125
Joined: Tue Dec 15, 2020 9:58 am

Re: BTII CHAR Disk - T11 S17??

Post by Weber G »

No, byte 131dec (83h) is track 4 and sector 16 in my table which I posted in the other thread.
User avatar
Darendor
Posts: 1502
Joined: Wed Jan 14, 2009 1:53 am
Location: Red Deer, Alberta, Canada

Re: BTII CHAR Disk - T11 S17??

Post by Darendor »

This is the table you posted.

Code: Select all

>C:6490  82 82 82 82  82 82 82 82  82 82 82 82  82 00 03 05   
>C:64a0  01 07 01 08  0b 09 08 0b  09 0a 05 0a  0b 12 0e 0e   
>C:64b0  0e 0e 0e 06  0c 01 01 01  01 01 02 02  02 0f 11 11   
>C:64c0  11 11 11 11  11 11 11 12  12 12 12 12  12 12 12 12   
>C:64d0  13 13 13 13  13 13 13 13  13 16 16 16  16 16 10 10   
>C:64e0  10 10 10 10  11 11 11 11  11 11 11 11  11 11 12 12   
>C:64f0  12 12 12 12  12 12 13 13  13 13 0e 0e  0e 10 13 13   
>C:6500  13 13 13 16  16 16 16 16  16 16 16 16  16 17 17 17   
>C:6510  17 0f 11 16  16 16 16 17  17 17 17 17  17 17 17 18   
>C:6520  17 04 00 00  00 06 00 00  00 00 08 08  11 0f 0b 00   
>C:6530  0d 0c 05 07  09 0b 00 00  00 03 06 09  0c 0f 00 06   
>C:6540  0b 00 01 03  05 07 0a 0c  0e 10 12 02  04 06 08 0a   
>C:6550  0c 0e 10 12  01 03 05 07  09 0b 0d 0f  11 00 02 04   
>C:6560  06 08 09 0b  0d 0f 11 13  00 02 04 06  08 0a 0c 0e   
>C:6570  10 12 02 04  06 08 0a 0c  0e 10 00 02  04 06 0d 10   
>C:6580  12 00 08 0a  0c 0e 10 00  02 04 06 08  0a 0c 0e 10   
>C:6590  12 01 03 05  07 12 0c 0a  0c 0e 10 00  02 04 06 08   
>C:65a0  0a 0c 0e 00  10 10 09 09  0a 0a 0b 0c  0c 0d 0d 0e
>C:65b0  0f 0f
649e is the first byte of the track table, which is 03H/3 Decimal. Counting to 131 (including 03) from there lands me at 6510, which is 17Hex, which is 23 Decimal.
6522 is the first byte of the sector table, which is 00H/0 Decimal. Counting to 131 (including 00) from there lands me at 65b0, which is 0fHex, which is 15.

According to that, I should be looking at T23 S15.

Where am I going wrong here?
Weber G
Posts: 125
Joined: Tue Dec 15, 2020 9:58 am

Re: BTII CHAR Disk - T11 S17??

Post by Weber G »

649E = 0h (track 3)
649F = 1h (track 5)
64A0 = 2h (track 1)
.
.
.
6520 = 82h (track 23)
6521 = 83h (track 4)

same for the sectors, it starts at 0

check my track/ sector thread
User avatar
Darendor
Posts: 1502
Joined: Wed Jan 14, 2009 1:53 am
Location: Red Deer, Alberta, Canada

Re: BTII CHAR Disk - T11 S17??

Post by Darendor »

Weber G wrote: Fri Jan 15, 2021 9:42 pmsame for the sectors, it starts at 0
Ugggh. THIS is where I went wrong, I was counting from 1, not 0! :x

Thank you.
Post Reply