News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

How to convert a dsk to a cpr and get it to boot within an emulator?

Started by Fabrizio, 12:58, 25 April 18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fabrizio

Hi everyone!

I am developing CROSS CHASE: a universal 8-bit game for more than 100 platforms including the Amstrad CPC/CPC+/GX400 and Amstrad NC computers.
For CPC+ (with joystick)
disk: https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/CPM/FULL_cpc_plus_joystick.dsk
tape: https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/CPM/FULL_cpc_plus_joystick.cdt

For all CPC models (with keyboard)
disk: https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/CPM/FULL_cpc.dsk
tape: https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/CPM/FULL_cpc.cdt

I have managed to make a generic CPC version and CPC+ version with digital joystick support (both in tape and disk image format).

The disk images contain a file "xchase", which can be started with run"xchase (tested on WinApe)

For the GX4000, I am still struggling because the cartridge I can create with nocart, does not boot under WinApe with CPC+ settings

I do something like:
nocart cpc_plus_joy.dsk gx4000.cpr
or
nocart cppc_plus_joy.dsk gx4000.cpr -c 'RUN"XCHASE'
or
nocart cppc_plus_joy.dsk gx4000.cpr -c 'run"xchase'

What should I do? Which specific emulator should I use for the GX4000?

I obtain a cpr file, which I cannot get to work with WinAPE.

CraigsBar

Quote from: Fabrizio on 12:58, 25 April 18
Hi everyone!

I am developing CROSS CHASE: a universal 8-bit game for more than 100 platforms including the Amstrad CPC/CPC+/GX400 and Amstrad NC computers.
disk for all (keys): https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/CPM/FULL_cpc.cdtdisk
only cpc+ (joystick): https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/CPM/FULL_cpc_plus_joystick.dsktape
for all (keys): https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/CPM/FULL_cpc.dsktape
only cpc+ (joystick): https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/CPM/FULL_cpc_plus_joystick.cdt

I have managed to make a generic CPC version and CPC+ version with digital joystick support (both in tape and disk image format).

The disk images contain a file "xchase", which can be started with run"xchase (tested on WinApe)

For the GX4000, I am still struggling because the cartridge I can create with nocart, does not boot under WinApe with CPC+ settings

I do something like:
nocart cpc_plus_joy.dsk gx4000.cpr
or
nocart cppc_plus_joy.dsk gx4000.cpr -c 'RUN"XCHASE'
or
nocart cppc_plus_joy.dsk gx4000.cpr -c 'run"xchase'

What should I do? Which specific emulator should I use for the GX4000?

I obtain a cpr file, which I cannot get to work with WinAPE.
nocart cppc_plus_joy.dsk gx4000.cpr xchase

Should do it.

Sent from my ONEPLUS 3t using Tapatalk

IRC:  #Retro4All on Freenode

Fabrizio

@CraigsBar , nothing happens when I attach the cartridge.

The disk image works fine
(disk version for CPC+ with joystick)
disk: https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/CPM/FULL_cpc_plus_joystick.dsk

Could you please try it and let me know?

CraigsBar

Quote from: Fabrizio on 14:21, 25 April 18
@CraigsBar , nothing happens when I attach the cartridge.

The disk image works fine
(disk version for CPC+ with joystick)
disk: https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/CPM/FULL_cpc_plus_joystick.dsk

Could you please try it and let me know?
When I get home tonight, sure.

Sent from my ONEPLUS 3t using Tapatalk

IRC:  #Retro4All on Freenode

Phantomz

@Fabrizio

Use nocart 1.9

nocart FULL_cpc_plus_joystick.dsk gx4000.cpr -c run"""xchase

Hope that helps.  ;)

Fabrizio

Thanks Phantomz!

It does not work in my environment (Cygwin)...

I need to figure out how to get it to work...

Fabrizio

This
./nocart.exe  ../../build/FULL_cpc_plus_joystick.dsk  ../../build/FULL_gx4000.cpr   -c 'RUN"xchase'

worked!!!


Phantomz

Quote from: Fabrizio on 15:16, 25 April 18
This
./nocart.exe  ../../build/FULL_cpc_plus_joystick.dsk  ../../build/FULL_gx4000.cpr   -c 'RUN"xchase'

worked!!!

Glad you got it sorted.  :)

CraigsBar

Quote from: Fabrizio on 15:16, 25 April 18
This
./nocart.exe  ../../build/FULL_cpc_plus_joystick.dsk  ../../build/FULL_gx4000.cpr   -c 'RUN"xchase'

worked!!!

Where can we find the result for testing on a C4CPC in a GX4000 :)
IRC:  #Retro4All on Freenode


Fabrizio

I must thank @Phantomz for giving me some good hints!!
I have managed to convert his good hacks into a script which is run by my tool chain that builds more than 100 binaries for most 8-bit systems including Amstrad CPC, NC, GX4000 trying to cover almost anything with a Motorola 6809, MOS 6502, Z80 chip or any clone chip.

Powered by SMFPacks Menu Editor Mod