Search found 81 matches

by pjshumphreys
Thu Apr 18, 2024 9:35 am
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 16
Views: 311

Re: zx81 filesystem interface with commodore 1541 drive (zx1541)

Oh ok. Well like I said, maybe its just lost to time.
by pjshumphreys
Thu Apr 18, 2024 8:09 am
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 16
Views: 311

Re: zx81 filesystem interface with commodore 1541 drive (zx1541)

Wait, that was you? Sorry man I had no idea. Well I'm still looking for that hardware as well. :) I thought that monkey avatar looked familiar.
by pjshumphreys
Wed Apr 17, 2024 2:01 pm
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 16
Views: 311

Re: zx81 filesystem interface with commodore 1541 drive (zx1541)

IIRC the BASIC ROM was weakely obfuscated It seems the rom decryption mechanism was know to hobbyists even back then. And there's a rom checksum generator at https://www.vdsteenoven.com/aquarius/romcheck.html this ROM was part of a 1988 project from the Australian HW guru Ron Koenig Looking again I...
by pjshumphreys
Wed Apr 17, 2024 1:40 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: MSX Malloc on memory > 64KB
Replies: 16
Views: 338

Re: MSX Malloc on memory > 64KB

It would be very cool to be able to use paged ram in this way on other CP/M like machines as well. You can get apple 2 applicards with 512Kb (https://www.tindie.com/products/gglabs/ ... -iie-iigs/) and the Amstrad PCW 8512 also has 512kb of ram and can run CP/M.
by pjshumphreys
Wed Apr 17, 2024 12:35 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: MSX Malloc on memory > 64KB
Replies: 16
Views: 338

Re: MSX Malloc on memory > 64KB

Before making calls to the extended bios I recommend you first check it's available. I can't remember for definite but I think it's not always present even on msx2 machines. My mapper initialisation routine starting at line 240 of https://sourceforge.net/p/querycsv/code/ci/master/tree/env/cpm/pager....
by pjshumphreys
Tue Apr 16, 2024 9:57 pm
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 16
Views: 311

Re: zx81 filesystem interface with commodore 1541 drive (zx1541)

Apparently a 1541 adapter existed for the Mattel Aquarius as well, but I've not been able to find out a lot about it except a brief mention of it at https://www.vdsteenoven.com/aquarius/aquaricart.php and an apparent dump of its rom from an old defunct yahoo groups group. For archival purposes I've ...
by pjshumphreys
Sun Apr 14, 2024 8:47 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: MSX Malloc on memory > 64KB
Replies: 16
Views: 338

Re: MSX Malloc on memory > 64KB

Is that available anywhere for me to have a look at? Sure. I've probably linked to this project before but I've migrated my stuff to sourceforge now. Ignore the silly function names. When I was coming up with names for them they were the first thing that came to mind and they made me chuckle. https...
by pjshumphreys
Sun Apr 14, 2024 8:18 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: MSX Malloc on memory > 64KB
Replies: 16
Views: 338

Re: MSX Malloc on memory > 64KB

The __banked calls available for +gb, +msx, +zx and +cpc use an always available trampoline with a 32 bit address following. There's a secondary stack to keep track of the originating page. It's pretty seamless which is nice, though does depend on the common and library routines fitting within the ...
by pjshumphreys
Sun Apr 14, 2024 2:53 pm
Forum: Sinclair ZX
Topic: DSKTOOL - A tool for creating Spectrum +3 game loaders
Replies: 4
Views: 210

Re: DSKTOOL - A tool for creating Spectrum +3 game loaders

Same. Something that'll be useful for future projects. :)
by pjshumphreys
Sun Apr 14, 2024 2:43 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: MSX Malloc on memory > 64KB
Replies: 16
Views: 338

Re: MSX Malloc on memory > 64KB

Speaking of, if a have a char *__far string, how can I (s)printf it? Should I copy it to a near address and then print it? I've found that storing code and static variables in paged memory is easier to work with than the stack or heap, because of this kind of need to copy data between pages takes e...
by pjshumphreys
Thu Apr 11, 2024 6:18 pm
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 16
Views: 311

Re: zx81 filesystem interface with commodore 1541 drive (zx1541)

Cool, thanks. I'm not working on any z80 related projects at present. I just like to check this forum every now and again for interesting stuff. But now I might dig out my zx1541 and do some tests. For reference, the version I have is the same as the one on this thread: https://sinclairzxworld.com/v...
by pjshumphreys
Thu Apr 11, 2024 4:24 pm
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 16
Views: 311

Re: zx81 filesystem interface with commodore 1541 drive (zx1541)

I don't actually own a real 1541 drive. I use a sd2iec device instead with the computers I own. My understanding is on cbm-dos you can read files byte-by-byte, write files byte-by-byte or (in theory) seek disk between 128 byte blocks. This comes from my experience working with the file io functions ...
by pjshumphreys
Sun Apr 07, 2024 11:08 pm
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 16
Views: 311

Re: zx81 filesystem interface with commodore 1541 drive (zx1541)

Thanks Dom. Sorry for being a pain (again) I wasn't aware the zx81 target already has support for the ZX1541. I was just thinking about talking to the interface via the zx_line function. Can this support in z88dk let you do byte by byte file reading? The rom on the interface only has functionality t...
by pjshumphreys
Thu Apr 04, 2024 2:24 am
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 16
Views: 311

zx81 filesystem interface with commodore 1541 drive (zx1541)

Hi all, I've seen recently folks discussing how to access files on an SD card with a ZX81. I've had some luck doing this with the ZX1541 interface and a SD2IEC device (such as from https://www.tfw8b.com/product/sd2iec-vic20-c64c-c128-light-grey/ ). Pre built ZX1541 inferfaces crop up on sellmyretro....
by pjshumphreys
Mon Feb 05, 2024 10:51 pm
Forum: Amstrad
Topic: Relocation Table
Replies: 1
Views: 475

Re: Relocation Table

According to https://github.com/z88dk/z88dk/wiki/Tool---z80asm---command-line the z80asm assembler has an -R option to generate relocatable code. You should be able to pass through this parameter to z80asm from the zcc compiler frontend using -Ca[option] (https://github.com/z88dk/z88dk/wiki/Tool---z...
by pjshumphreys
Fri Apr 07, 2023 9:17 am
Forum: Misc
Topic: exomizer
Replies: 11
Views: 2238

Re: exomizer

Maybe its easy it its use?
I don't know. Although as I said before, the author of that one is still active on github so will likely be available to respond to questions. He is still adding commits to the project as of last month.
by pjshumphreys
Thu Apr 06, 2023 10:24 pm
Forum: Misc
Topic: exomizer
Replies: 11
Views: 2238

Re: exomizer

On further investigation, Batch.au3 in that WAV2AY_SRC.zip file looks like some kind of scripting language code that prints out z80 assembly to do the exomizer decompression. Weird
by pjshumphreys
Thu Apr 06, 2023 9:57 pm
Forum: Misc
Topic: exomizer
Replies: 11
Views: 2238

Re: exomizer

Yeah, based upon what you say this wav2ay tool doesn't seem like a 'batteries included' type of thing. I did see there's freebasic source code at https://worldofspectrum.net/pub/sinclair/tools/pc/WAV2AY_SRC.zip. Is that useful to you? Otherwise, that other wav2ay tool I found on github will also con...
by pjshumphreys
Thu Apr 06, 2023 11:26 am
Forum: Misc
Topic: exomizer
Replies: 11
Views: 2238

Re: exomizer

Also, would it be worth asking the exomizer devs whether they have direct support for z88dk compiles in some form? It's possible they might already in some way.
by pjshumphreys
Thu Apr 06, 2023 11:11 am
Forum: Misc
Topic: exomizer
Replies: 11
Views: 2238

Re: exomizer

This wav2ay project? https://github.com/EdouardBERGE/wav2ay I can't find any references to exomizer in that one. It doesn't seem to be part of wav2ay itself. I've found decompressing with zx7 is fairly easy and that (de)compressor is already part of z88dk's toolset. Would using that instead be an op...
by pjshumphreys
Wed Apr 05, 2023 4:51 pm
Forum: Misc
Topic: exomizer
Replies: 11
Views: 2238

Re: exomizer

Doesn't exomizer do something similar to z88dk-zx7? I've briefly used exomizer with cc65 before but I wasn't aware it supports z80 machines. I'd find it interesting to see how the two compressors compare.
by pjshumphreys
Fri Mar 10, 2023 2:07 pm
Forum: Sinclair ZX
Topic: MSX CLOAD format
Replies: 2
Views: 2128

Re: MSX CLOAD format

Very cool! :)
by pjshumphreys
Sat Jan 14, 2023 2:23 am
Forum: Other targets
Topic: I'm creating CPM BIOS in C
Replies: 8
Views: 1260

Re: I'm creating CPM BIOS in C

very nice!
by pjshumphreys
Sun Dec 18, 2022 12:32 am
Forum: Misc
Topic: Could someone take another look at my PR please?
Replies: 0
Views: 7152

Could someone take another look at my PR please?

I updated the changes I made to https://github.com/z88dk/z88dk/pull/2104 to use utstring, but it seems the build process previously failed due to the chocolatey package manager having some kind of problem. After I've rebased my code today from the latest upstream master the build process seems happy...
by pjshumphreys
Thu Oct 27, 2022 2:22 pm
Forum: Misc
Topic: Misc functions
Replies: 8
Views: 1293

Re: Misc functions

I thought I'd made that available to every z80 target?
Oh cool. I only looked when I first started using it. I tried again recently and it didn't work for me, but I guess that's because I was trying to compile for 8080.