Can you help me correcting a BAS loader?

Page 1/2
| 2

Par vanfanel

Champion (425)

Portrait de vanfanel

05-04-2012, 21:27

Hello guys

I'm trying to make a loader for my own "release" of "Colossal Adventure", since every DSK version is broken and has text errors.
So I've ripped the files from the CAS to a DSK, and I got these files:

-rw-rw-r-- 1 manuel manuel 5000 2012-04-01 21:49 ADVENT.bin
-rw-rw-r-- 1 manuel manuel 1840 2012-04-01 21:49 COLOSS.asc
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom10.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom11.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom12.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom13.dat
-rw-rw-r-- 1 manuel manuel 1672 2012-04-01 21:49 custom14.dat
-rw-rw-r-- 1 manuel manuel    6 2012-04-01 21:49 custom15.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom1.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom2.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom3.dat
-rw-rw-r-- 1 manuel manuel    8 2012-04-01 21:49 custom4.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom5.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom6.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom7.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom8.dat
-rw-rw-r-- 1 manuel manuel    8 2012-04-01 21:49 custom9.dat
-rw-rw-r-- 1 manuel manuel 4104 2012-04-01 21:49 custom.dat

The loader is obviously "COLOSS.BAS", and it has a simple routine to draw a loading screen with colored text, and then it has:

bload "cas:",r

I tried changing it to:

bload "advent.bin",r : bload "custom.dat",r : bload "custom1.dat",r : bload "custom2.dat",r ETC

but the game doesn't work. Can you guys help me?

!login ou Inscrivez-vous pour poster

Par Fabf

Master (139)

Portrait de Fabf

05-04-2012, 21:56

Have you looked at DSK files
Maybe you can change all files and keep the loader

Converting tape games to DSK is very difficult

Par Sky_hawk

Master (230)

Portrait de Sky_hawk

05-04-2012, 23:39

Why is converting tape games difficult, I've never done it, but it seems like there are no technical reasons why it would not be possible? Unless maybe it's a game with a customized tape reading method...

Par Gradius2

Hero (559)

Portrait de Gradius2

06-04-2012, 02:35

You would need to put COLOSS.asc and ADVENT.bin here to find out how the loading works.

And then, only then, making the adjustments.

Par Gradius2

Hero (559)

Portrait de Gradius2

06-04-2012, 03:04

Here is the load of the other floating around:

You'll need to check what the bin do, and then re-adapt them from your source.

Par vanfanel

Champion (425)

Portrait de vanfanel

10-04-2012, 15:15

Since I can't figure out how to do that, I'd need some help converting this CAS to a proper DSK.
Here are the files inside the CAS, all in a single zip. I believe this game is easy to convert to DSK... it's just I don't know how to go any further as I only understand the BASIC loader.

CAS file contents

Par Gradius2

Hero (559)

Portrait de Gradius2

12-04-2012, 04:08

The problem lies on ASM (.bin) files, NOT the basic program.

Par vanfanel

Champion (425)

Portrait de vanfanel

12-04-2012, 12:37

That's what I said: I could correct the BAS loader somehow, but I don't know how to fix the BIN (ASM) files.

Par vanfanel

Champion (425)

Portrait de vanfanel

12-04-2012, 12:55

Note that every DSK versio floating around is corrupted: it displays text with errors. So I believe having this timeless classic in the more versatile DSK format is important.

Par Jipe

Paladin (919)

Portrait de Jipe

12-04-2012, 16:44

i compare the CAS: files and the DSK files with Hexedecimal Viewer ans search errors
just found 2 errors
in block 001 search 00 13 D3 7B 06 and replace by 09 20 64 F4 E6
in block 002 search 00 13 D3 57 06 and replace by C3 7F CC C7 C7

Par vanfanel

Champion (425)

Portrait de vanfanel

12-04-2012, 17:56

@Jipe: what files inside the DSK shoud I correct? You talk about blocks, but I have files in the DSK version I could edit with Hexedit.

Page 1/2
| 2
My MSX profile