Welcome to the Gamebase 64 forums.                 An attempt to document ALL Commodore 64 gameware before it's too late!

script for nec pc-88

Discuss any other databases that use the GameBase Frontend, whether in pre development, development or publically released.

Moderator: Jimbo

lookers
New Member
Posts: 39
Joined: Fri Oct 26, 2012 6:33 am

script for nec pc-88

Tue Sep 27, 2016 10:16 pm

hello
is it possible to create a script to load multi disk on quasi88
thanks
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2256
Joined: Sun Jun 19, 2005 3:30 pm

Wed Sep 28, 2016 5:41 pm

yes! ;)

it shows lots of command-lines in the manual.

Code: Select all

quasi88 [-option] [image-file [image-No] [image-file [image-No]]]

a.d88 b.d88 (shows examples of individual disks)
x.d88 y.d88 (show examples of merged disks)

quasi88 a.d88             Drive 1: = a.d88 / Drive 2: = Empty
quasi88 a.d88 b.d88       Drive 1: = a.d88 / Drive 2: = b.d88
quasi88 x.d88             Drive 1: = x.d88  1st Disk / Drive 2: = x.d88  2nd Disk
quasi88 x.d88 3           Drive 1: = x.d88  3rd Disk / Drive 2: = Empty
quasi88 x.d88 2 4         Drive 1: = x.d88  2nd Disk / Drive 2: = x.d88  4th Disk
quasi88 x.d88 y.d88       Drive 1: = x.d88  1st Disk / Drive 2: = y.d88  1st Disk
quasi88 x.d88 3 y.d88     Drive 1: = x.d88  3rd Disk / Drive 2: = y.d88  1st Disk
quasi88 x.d88 y.d88 3     Drive 1: = x.d88  1st Disk / Drive 2: = y.d88  3rd Disk
quasi88 x.d88 4 y.d88 2   Drive 1: = x.d88  4th Disk / Drive 2: = y.d88  2nd Disk
But it will probably mean a lot of work and testing from yourself, to get it just as you like.
Which could spent swapping the disks manually. ;)

It all depends on which disk collection you have, whether it will work or not.
Quasi88 is compatible with the merged disk set.
*all disk images in 1 D88 file (The best set for this emulator).
So the DEFAULT script will automatically insert the first disk in Drive#1 and second disk in Drive#2.

You will have to swap disks manually after initial boot, if the game uses more than 2 disks.

If you are using the TOSEC collection, where the disks are in individual files.
You !MUST! rename the disks for the script to work in GameBase.
"gamename_disk a.d88"
"gamename_disk b.d88"

No way round it, it's just how GameBase is programmed to work.

Code: Select all

-------------------
Script #1
------------------
;merged multi-disk set "gamename.d88" force disk selection - Drive 1: 3rd disk in image - Drive 2: 4th Disk in image
; GEMUS
; img1=3
; img2=4
-------
If key_img1 CONTAINS(*)
Add_CLP( %gamepathfile% %img1_value% %img2_value%)
else
;merged multi-disk set "gamename.d88" Auto disk selection - Drive 1: 1st disk  - Drive 2: 2nd Disk
Add_CLP( %gamepathfile%)
End If
Run_Emulator

Code: Select all

-------------------
Script #2
------------------
;individual disks must be named like this for GameBase to insert disks correctly...
;"gamename_disk a.d88"
;"gamename_disk b.d88"

If NumGameFiles > 1
Add_CLP( %gamepathfile% %gamepathfile(1)%)
else
Add_CLP( %gamepathfile%)
End If
Run_Emulator
lookers
New Member
Posts: 39
Joined: Fri Oct 26, 2012 6:33 am

Wed Sep 28, 2016 10:12 pm

thanks Mad
the 2° script work like a charm.
but I have a question for you,
how can i do to merge multi disk so to use fist script?
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2256
Joined: Sun Jun 19, 2005 3:30 pm

Thu Sep 29, 2016 11:36 am

use a DOS / Command window or batch file to COPY the files together.

Code: Select all

copy /b "Run Run_Disk A.d88" + "Run Run_Disk B.d88" + "Run Run_Disk C.d88" + "Run Run_Disk D.d88" "Run Run (Merged Disks).d88"
Looking at the menu, i think it is limited to 4 disk files per merged D88 image.

Image

If the game is on 3 disks or less and needs a disk for save data.
don't forget to add one at the end of the copy.
lookers
New Member
Posts: 39
Joined: Fri Oct 26, 2012 6:33 am

Thu Sep 29, 2016 2:18 pm

i try it
the batch script work good.
Thanks Mad.

can i use it for all system or only pc-88?
lookers
New Member
Posts: 39
Joined: Fri Oct 26, 2012 6:33 am

Thu Sep 29, 2016 2:27 pm

i try merged disk and it works in quasi88,X88000 and pc8801ma emulators.

thanks again Mad
:D :D :D

Return to “Other GameBase Projects”

Who is online

Users browsing this forum: Google [Bot] and 51 guests