Author Topic: Converting a game to ROM - and LOTS of ROM files inside!  (Read 69415 times)

0 Members and 2 Guests are viewing this topic.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1975
Re: Converting a game to ROM - and LOTS of ROM files inside!
« Reply #525 on: 22:57, 07 June 16 »
Ok, this is clear! You need to change the BASIC loader in a way that every LOAD command will be changed into an RSX, since the loaded parts are part of the ROM(s). The program can't apply AI to any BASIC program. So one has to change loaders in BASIC with the hand.

Let's say the BASIC loads a Binary at &9000 then replace this line in the BASIC program to an RSX command (for example !LOADBIN). And use the same name for the Binary in the ROM. Also use the correct loading address.

Is this clear in my broken English, or do I need to go more into detail?


EDIT: Look at the ROMs I posted, they can serve as an example. Look at the BASIC loader.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Phantomz

  • 6128 Plus
  • ******
  • Posts: 1.122
  • Country: gb
  • Liked: 1635
Re: Converting a game to ROM - and LOTS of ROM files inside!
« Reply #526 on: 23:18, 07 June 16 »
Ok, this is clear! You need to change the BASIC loader in a way that every LOAD command will be changed into an RSX, since the loaded parts are part of the ROM(s). The program can't apply AI to any BASIC program. So one has to change loaders in BASIC with the hand.

Let's say the BASIC loads a Binary at &9000 then replace this line in the BASIC program to an RSX command (for example !LOADBIN). And use the same name for the Binary in the ROM. Also use the correct loading address.

Is this clear in my broken English, or do I need to go more into detail?


EDIT: Look at the ROMs I posted, they can serve as an example. Look at the BASIC loader.

Your English is great, I understand what you're saying, it's makes perfect sense.  :)

Thanks for the Information.  :)

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1975
Re: Converting a game to ROM - and LOTS of ROM files inside!
« Reply #527 on: 00:29, 08 June 16 »
Thank's! Glad I could help.


I really like Softbrenner, the only 'missing thing' is that it doesn't add the checksum to &FFFF. But since it was made for the ROM-RAM-Box they didn't think about adding a checksum when saving a ROM. But I guess we can life with that, since it can be done by hand easy.  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline zeropolis79

  • 464 Plus
  • *****
  • Posts: 416
  • Country: gb
  • Liked: 76
Re: Converting a game to ROM - and LOTS of ROM files inside!
« Reply #528 on: 18:26, 09 July 18 »
Are people still working on these?
Patrick J Furlong

Offline The_Mole_UK

  • CPC464
  • **
  • Posts: 45
  • Country: gb
  • CPC 6128 / 6128 Plus / WinAPE 2.0 B2.
  • Liked: 18
Re: how to convert a dsk image to rom???
« Reply #529 on: 17:47, 06 September 18 »

Ok... in quick...
 
Install Softbrenner ROM in an MegaFlash or CPC emulator
Insert Disc with "Munch.", the 15 KB file
Start Softbrenner with !SB
Type "M" for Make ROM
Press "X" for add RSX
Move black bar over file "MUNCH." (ok, it is there already)
Press RETRUN to load file
Now you see a RSX command, that can be changed. Press DEL just once to delete the point
On the screen you see "!MUNCH", press Return
Press "2" for "load file into RAM and autostart"
Press Return twice to admit the load and autostart addresses of the file
Press N for No autostart after reset
Now press "S" for save ROM
And that's it you have your ROM!!!

SOFTBRENNER V1.24 -E- can edit the strings of the ROM and version etc.   The string needs an indent or will look odd to other ROM strings.

I used Hex Workshop to add $A4 (c).  You can only overwrite the 20 (space).  Spaces at the end if left over.  I used CPCDiskXP 2.51 (Used the 'Disc Editor'!) to transfer the ROMs between a 40 track, 178k DSK image and my PC.  Superb!!!

Quote
One last thing remains to do: You must adapt the checksum. That can be done with the small basic program "checksum.bas"
Again, I used CPCDiskXP 2.51 (Used the 'Disc Editor'!) to transfer the ROMs between a 40 track, 178k DSK image and my PC. Superb!!!

Continued in the post below...
« Last Edit: 14:53, 10 September 18 by The_Mole_UK »

Offline SuTeKH/Epyteor

  • 6128 Plus
  • ******
  • Posts: 1.266
  • Country: 00
  • Liked: 1144
Re: Converting a game to ROM - and LOTS of ROM files inside!
« Reply #530 on: 23:09, 06 September 18 »
[oops... wrong thread!]
« Last Edit: 07:27, 07 September 18 by SuTeKH/Epyteor »

Offline The_Mole_UK

  • CPC464
  • **
  • Posts: 45
  • Country: gb
  • CPC 6128 / 6128 Plus / WinAPE 2.0 B2.
  • Liked: 18
Re: Converting a game to ROM - and LOTS of ROM files inside!
« Reply #531 on: 17:52, 07 September 18 »
[oops... wrong thread!]
It happens!!!  (Good excuse to highlight my post above!)

Offline The_Mole_UK

  • CPC464
  • **
  • Posts: 45
  • Country: gb
  • CPC 6128 / 6128 Plus / WinAPE 2.0 B2.
  • Liked: 18
« Last Edit: 14:16, 24 September 18 by The_Mole_UK »

Offline The_Mole_UK

  • CPC464
  • **
  • Posts: 45
  • Country: gb
  • CPC 6128 / 6128 Plus / WinAPE 2.0 B2.
  • Liked: 18
Re: Converting a game to ROM - and LOTS of ROM files inside!
« Reply #533 on: 02:01, 11 September 18 »
Quote
I really like Softbrenner, the only 'missing thing' is that it doesn't add the checksum to &FFFF. But since it was made for the ROM-RAM-Box they didn't think about adding a checksum when saving a ROM. But I guess we can life with that, since it can be done by hand easy.  :)
Check out my disc above...I’ve made something...
« Last Edit: 02:02, 11 September 18 by The_Mole_UK »

Offline The_Mole_UK

  • CPC464
  • **
  • Posts: 45
  • Country: gb
  • CPC 6128 / 6128 Plus / WinAPE 2.0 B2.
  • Liked: 18
Re: how to convert a dsk image to rom???
« Reply #534 on: 14:03, 11 September 18 »
Ok, got the Softbrenner ROM working, but have to give up anyway.

Can't do this using any emulator on Linux it seems (?). Caprice doesn't let me save files to disk. Whatever files I save is gone from the DSK again after a reset.
And Arnold doesn't seem to support adding additional ROM files.

I guess I'll have to wait till there's time and room for me to setup my CPC+ somewhere.
Remove the disc from the drive emulation BEFORE you back it up.  The drive gets cached I think and the changes are written when you exit WinAPE or eject a disc.  So before closing WinAPE, eject your drives first, then it won't mess up the INI/discs and need a reedit!!!  I did this initially too...