thank you, it works.
a header is assigned to each file and they are combined into one
Moderator: pavero
thank you, it works.
I think in .PJG files are much more recent sources: *.PDS - Version 00.14, *.PJG - Version 00.57
Nice find!Mr.Bojangles wrote: ↑Wed Apr 19, 2023 4:45 pm To skip necessity to capture serial, PDS can output directly to file with:
SEND MSDOS,file.ext
Undocumented feature.
Got the intro workingMr.Bojangles wrote: ↑Mon Apr 17, 2023 9:54 pm Thanks so much for this!
Dominion outro works on its own, but rest of the game has to be assembled from parts
There's so much of everything it'll take some time to go through
Even PSX and Saturn stuff
Code: Select all
CPC 'Dizzy 3' (https://github.com/Wireframe-Magazine/Wireframe19):
- compile for 'amstrad' with 'PDSZ80f.EXE' to get 'AA' or 'ser2.bin' from 'PDSZ80c.EXE' on 'DOSBox-X'
- unpack it to '0bank0.bin' with 'pds2rom.exe aa'
- use CaPriCe Forever
- set breakpoint: &0dfb
- run 'call &0dfb' to activate BP
- memory editor/dump/import bin
- unpause debugger and it should execute from set PC
CPC 'Lop Ears': (https://spectrumcomputing.co.uk/forums/viewtopic.php?t=1932)
- compile with 'PDSZ80f.EXE' to get 'AA' or 'ser2.bin' from 'PDSZ80c.EXE' on 'DOSBox-X'
- unpack it to '0bank0.bin' with 'pds2rom.exe aa'
- trim it with 'sfk partcopy 0bank0.bin -yes -allfrom 0x300 out.bin'
- use CaPriCe Forever
- set breakpoint: &2328
- run 'call &2328' to activate BP
- memory editor/dump/import bin
- set 'From' to &300 before importing
- unpause debugger and it should execute from set PC
ZX 'Street Cred Football': (https://spectrumcomputing.co.uk/forums/viewtopic.php?t=1932)
- compile with 'PDSZ80f.EXE' to get 'AA' or 'ser2.bin' from 'PDSZ80c.EXE' on 'DOSBox-X'
- unpack it to '0bank0.bin' with 'pds2rom.exe aa'
- trim it with 'sfk partcopy 0bank0.bin -yes -allfrom 0x4000 out.bin'
- use ZXSpin
- set breakpoint: #9472
- run 'randomize usr 38002' to activate BP
- File/Load Binary
- set 'Start' to #4000 before importing
- unpause debugger and it should execute from set PC
C64 'Altered Beast Intro' (https://github.com/milkeybabes?tab=repositories)
- compile x?.tap files with 'PDS6502f.EXE' to get 'AA' or 'ser2.bin' from 'PDS6502c.EXE' on 'DOSBox-X'
- unpack it to '0bank0.bin' with 'pds2rom.exe aa'
- prepend rom with 2 bytes and remove last 2: <- weird emulator quirk
'sfk partcopy 0bank0.bin -yes -fromto 0 2 pad.bin'
'copy /b pad.bin +0bank0.bin tmp.bin'
'sfk partcopy tmp.bin -yes -fromto 0 0x10000 out.bin'
(so if those 2 bytes happen to be meaningful, fill them from debugger later on)
- use Z64K
- Applications/Machine Monitor
'l "out.bin" 0'
'g 9837'
- close Monitor and it should run
NES 'Hero Quest' (http://shrigley.com/source_code_archive/)
- compile with 'PDS6502f.EXE' to get 'A?' or 'ser2.bin' from 'PDS6502c.EXE' on 'DOSBox-X'
- unpack it to '0bank?.bin' with 'pds2rom.exe ser2.bin'
- trim files with sfk:
'sfk partcopy 0bank0.bin -yes -fromto 0x8000 0xc000 out0.bin'
'sfk partcopy 0bank1.bin -yes -fromto 0x8000 0xc000 out1.bin'
...
'sfk partcopy 0bank6.bin -yes -allfrom 0x8000 out6.bin'
- join all files
'copy /b out0.bin +out1.bin +out2.bin +out3.bin +out4.bin +out5.bin +out6.bin tmp.bin'
- prepend 'tmp.bin' with a 16 byte header using an HEX editor or with 'sfk setbytes'
4E 45 53 1A 08 00 20 00-00 00 00 00 00 00 00 00
'sfk -yes make-random-file header 16'
'sfk -yes setbytes header 0 0x4e45531a080020000000000000000000'
'copy /b header +tmp.bin'
- rename to *.nes and run in any NES emulator
* PDS has built in 'SEND MSDOS,file.ext' command for output to file
but it has problem with multi bank output overwriting itself
to amend this I provided modified 'f' exe versions
it is better to not specify this MSDOS output with those hacked versions
but just send to either COMPUTER1/2 or SERIAL and everything should go to file
* older PDSZ80 projects appear to compile well with P2Z80
* P2Z80 has additional 'SEND ROMFILE,file.ext,128' discussed here:
https://worldofspectrum.org/forums/discussion/9588/
This is very useful. Thank you!Ralf wrote: I took a different approach. Instead of struggling with PDS I decided to convert the code to some modern format, Sjasm to be exact.