URGENT / IMPORTANT: BANDERSNATCH (MIA)

Anything QL Software or Programming Related.
Post Reply
User avatar
Outsoft
Super Gold Card
Posts: 695
Joined: Sat Apr 19, 2014 1:30 pm
Location: Italy
Contact:

URGENT / IMPORTANT: BANDERSNATCH (MIA)

Post by Outsoft »

This is the BEST dump I can do on 5 different Bandersnatch MD's I found until then (see attachment).

Zipped with a PC, dumped in Q-emuLator MDV mdump2 standard.

Have 2 BAD on the 2 principal machine code parts.

This Bandersnatch version is TOTALLY different from the previous preserved by RICH MELLOR that cames from JOSE' TUR:

http://www.zonadepruebas.com/viewtopic.php?t=4199

Can anyone let make it start and see If is REALLY "Brataccas"?

It would be the biggest QL scoop ever.

Let me gently know.

Best regards.

P.S.: I've updated the ZIP file , now have no Qubide header and can e used in Q-Emulator.
Attachments
bsnatch_bk.zip
(35.7 KiB) Downloaded 380 times
Last edited by Outsoft on Fri Jul 07, 2017 2:08 pm, edited 2 times in total.


RWAP
RWAP Master
Posts: 2834
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: URGENT / IMPORTANT: BANDERSNATCH (MIA)

Post by RWAP »

Well it looks as though q-emulator does not recognise that as a valid microdrive image...

There are some bits of SuperBASIC visible in the dump:

The boot program:

Code: Select all

1 CLOSE #1
2 CLOSE #2
6 a=RESPR(87500)
7 MODE 0
8 PRINT #0,"Loading Bandersnatch"
10 LBYTES mdv1_loader,139264
30 CALL 135168
What is probably the backup program (mdv1_copy):

Code: Select all

5 PAPER 1
10 CLS
15 PRINT "This will erase all data on mdv2"
16 PRINT
20 PRINT "Place a blank wafer in mdv2"
23 PRINT "press enter to continue"
25 INPUT a$
30 FORMAT mdv2_bsnatch
35 PRINT "copying"
36 PRINT "copy"
40 COPY mdv1_copy TO mdv2_copy
50 PRINT "loader"
60 COPY mdv1_loader TO mdv2_loader
70 PRINT "game"
80 COPY mdv1_game TO mdv2_game
90 PRINT "segment"
100 COPY mdv1_seg_aaa TO mdv2_seg_aaa
110 PRINT "boot"
112 COPY mdv1_boot TO mdv2_boot
The loader seems to load game and seg_aaa from mdv1_ and probably checks that mdv2_ is an original


User avatar
Outsoft
Super Gold Card
Posts: 695
Joined: Sat Apr 19, 2014 1:30 pm
Location: Italy
Contact:

Re: URGENT / IMPORTANT: BANDERSNATCH (MIA)

Post by Outsoft »

RWAP wrote:Well it looks as though q-emulator does not recognise that as a valid microdrive image...

There are some bits of SuperBASIC visible in the dump:

The boot program:

Code: Select all

1 CLOSE #1
2 CLOSE #2
6 a=RESPR(87500)
7 MODE 0
8 PRINT #0,"Loading Bandersnatch"
10 LBYTES mdv1_loader,139264
30 CALL 135168
What is probably the backup program (mdv1_copy):

Code: Select all

5 PAPER 1
10 CLS
15 PRINT "This will erase all data on mdv2"
16 PRINT
20 PRINT "Place a blank wafer in mdv2"
23 PRINT "press enter to continue"
25 INPUT a$
30 FORMAT mdv2_bsnatch
35 PRINT "copying"
36 PRINT "copy"
40 COPY mdv1_copy TO mdv2_copy
50 PRINT "loader"
60 COPY mdv1_loader TO mdv2_loader
70 PRINT "game"
80 COPY mdv1_game TO mdv2_game
90 PRINT "segment"
100 COPY mdv1_seg_aaa TO mdv2_seg_aaa
110 PRINT "boot"
112 COPY mdv1_boot TO mdv2_boot
The loader seems to load game and seg_aaa from mdv1_ and probably checks that mdv2_ is an original
Naturally we have just tried to clone it on MDV2_ too but don't work: we need a L/M decompiling for let it works.


RWAP
RWAP Master
Posts: 2834
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: URGENT / IMPORTANT: BANDERSNATCH (MIA)

Post by RWAP »

RWAP wrote:

Code: Select all

10 LBYTES mdv1_loader,139264
30 CALL 135168
Well that looks wrong to start with as the loader is loaded to an address higher in memory than the code is called (although it is all within the screen memory, so should not be an issue and should just call the start of mdv1_loader)

Unfortunately, I have tried calling the start of each sub-routine in mdv1_loader and none of them seem to continue...

In the various images you have, is mdv1_loader ever bigger than 400 bytes?


User avatar
vanpeebles
Commissario Pebbli
Posts: 2816
Joined: Sat Nov 20, 2010 7:13 pm
Location: North East UK

Re: URGENT / IMPORTANT: BANDERSNATCH (MIA)

Post by vanpeebles »

Exciting stuff!! :ugeek:


MaxRaf
ROM Dongle
Posts: 5
Joined: Fri Jun 17, 2016 3:15 am

Re: URGENT / IMPORTANT: BANDERSNATCH (MIA)

Post by MaxRaf »

.
Last edited by MaxRaf on Fri Jul 07, 2017 11:17 pm, edited 1 time in total.


User avatar
Outsoft
Super Gold Card
Posts: 695
Joined: Sat Apr 19, 2014 1:30 pm
Location: Italy
Contact:

Re: URGENT / IMPORTANT: BANDERSNATCH (MIA)

Post by Outsoft »

RWAP wrote:
RWAP wrote:

Code: Select all

10 LBYTES mdv1_loader,139264
30 CALL 135168
Well that looks wrong to start with as the loader is loaded to an address higher in memory than the code is called (although it is all within the screen memory, so should not be an issue and should just call the start of mdv1_loader)

Unfortunately, I have tried calling the start of each sub-routine in mdv1_loader and none of them seem to continue...

In the various images you have, is mdv1_loader ever bigger than 400 bytes?
No other image can be dumped as this one: is the only that can be "worked"


Martin_Head
Aurora
Posts: 847
Joined: Tue Dec 17, 2013 1:17 pm

Re: URGENT / IMPORTANT: BANDERSNATCH (MIA)

Post by Martin_Head »

I had a look at the dump, and there appears to be 2 bad sectors

file 3 (game), block $34. In this dump sector 212. And File 4 (seg_aaa), block $09 sector 213. There is another sector with a bad checksum, but it is an unused sector.

I patched the dump so that the bad sectors checksums would pass, and tried to run it. Not surprisingly it did not get very far. I need to disassemble the loader program to see how it works.

You can however copy all the files without errors.

Is this game supposed to run in 128K, or does it need extended memory. As when I tried it in Qemulator with 128K of memory, it gave an out of memory error in the boot program.

You say you have 4 other Microdrives, can you upload the dumps of them. It does not matter how bad they are, with a bit of luck it may be possible to extract the required sectors.


User avatar
vanpeebles
Commissario Pebbli
Posts: 2816
Joined: Sat Nov 20, 2010 7:13 pm
Location: North East UK

Re: URGENT / IMPORTANT: BANDERSNATCH (MIA)

Post by vanpeebles »

It could be a case of making one good file from 4 or 5 different dumps, they each might be broken in different ways. Fingers crossed anyway!


QLObi
ROM Dongle
Posts: 46
Joined: Wed Mar 20, 2013 9:15 pm
Location: Germany Köln

Re: URGENT / IMPORTANT: BANDERSNATCH (MIA)

Post by QLObi »

Here are the files. Needs JS more than 128k and is copy protected !

Detlef alias QLObi

Some corrections:
Runs only at JS with 128K and no Toolkit. The copy protection is removed !


START
trap #0
move.l #$c000,d2
moveq #$41,d0
jsr LoadFile1 'MDV1_SEG_AA' loadadress 212992
move.l #$757f,d2
lea File2,a0 'MDV1_GAME'
movea.l #$00029b00,a1 loadadress 170752
jsr Load_File
nop ' patched to skip routines
nop
jmp $00029b00 call 'GAME' @170752
Attachments
Bandersnatch.zip
(26.09 KiB) Downloaded 357 times
Last edited by QLObi on Wed Jul 12, 2017 7:46 am, edited 2 times in total.


Post Reply