Search found 2183 matches

by stefano
Thu Apr 11, 2024 5:56 pm
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 7
Views: 175

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

Yes, crossing fingers. The zx81 BASIC is very close to the Spectrum one but its main loop is way more delicate. If you have a real zx81 and the 1541 interface it's great news. You surely can experiment with the z88dk functions for interfacing with basic, the string variables (zx_setstr) should work ...
by stefano
Wed Apr 10, 2024 3:27 pm
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 7
Views: 175

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

I probably must rephrase. When I say I have the code, I'm referring to the zx81 and sharp mz specific projects, not to z88dk. In my information the 1541 is a serial peripheral. possible non-block modes depend on the disk drive capability, probably some sort of random access is either natively possib...
by stefano
Wed Apr 10, 2024 5:52 am
Forum: Sinclair ZX
Topic: ZX81, ARX graphics news
Replies: 2
Views: 150

Re: ZX81, ARX graphics news

the quick fix did not work, but we should be close now
by stefano
Fri Apr 05, 2024 9:23 am
Forum: Sinclair ZX
Topic: Ansi/vt
Replies: 17
Views: 13657

Re: Ansi/vt

>I was close to see the ZX Spectrum variant work on the ZX81 (using "bgi.h") but there was still too little memory left. I got it running. One of the missing elements is a buld of the lib3d.lib with the "IXIY" index registers inversion enabled. The hole library should be probably...
by stefano
Fri Apr 05, 2024 8:59 am
Forum: Sinclair ZX
Topic: zx81 filesystem interface with commodore 1541 drive (zx1541)
Replies: 7
Views: 175

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

No. This is a forum, but you can create a pull request on github. When pertaining to the z88dk project we are accepting documentation in z88dk-docs, in example. The 1451 drive was also interfaced to the Sharp MZ computers. I think I still have the Z80 code somewhere for both the ZX81 and Sharp stuff...
by stefano
Wed Apr 03, 2024 8:15 am
Forum: Sinclair ZX
Topic: Ansi/vt
Replies: 17
Views: 13657

Re: Ansi/vt

By the way, here it is a possibly fixed version. I wish I had the energy to rewrite the whole library :S zcc +zx81 -subtype=_arx -clib=arxansi -create-app -lgfx81arx192 -pragma-define:ansicolumns=42 hangman.c -O3 I'm noticing that placing the hrg page outside the 16K range does not work in ARX mode,...
by stefano
Tue Apr 02, 2024 3:28 pm
Forum: Sinclair ZX
Topic: ZX81, ARX graphics news
Replies: 2
Views: 150

Re: ZX81, ARX graphics news

I'm proposing a quick fix, let's see if it works, it does on EightyOne. It skips the ROM call to check the break keys and gets the value from the I/o port directly. It is slightly faster and seems enough for the problem to disappear. It also fixes the break check failing on v1 ROMs. I should do the ...
by stefano
Mon Mar 18, 2024 4:48 pm
Forum: Sinclair ZX
Topic: ZX81, ARX graphics news
Replies: 2
Views: 150

ZX81, ARX graphics news

Paul just informed me that he revised the core logic of the ARX high resolution trick.

https://www.sinclairzxworld.com/viewtop ... f=6&t=5448

At the moment I'm keeping it in my to-do list. :)
by stefano
Thu Feb 29, 2024 6:05 pm
Forum: CP/M, FLOS and OS related
Topic: C128 CP/M program hangs with submit
Replies: 4
Views: 177

Re: C128 CP/M program hangs with submit

I remember very well the Covox stuff, they had even a very interesting 3 bit format, in their MSDOS software. I think the Sound master II stuff is reachable online in some DosBox related forum. 4 bit look like a good compromise for the 8bit systems. Not too lossy on 8bit DACs, perfect for the SID or...
by stefano
Thu Feb 29, 2024 8:22 am
Forum: Misc
Topic: Building libs based on C source?
Replies: 5
Views: 208

Re: Building libs based on C source?

Steve! I'm so glad to see you're active on z88dk!
by stefano
Thu Feb 29, 2024 8:19 am
Forum: CP/M, FLOS and OS related
Topic: C128 CP/M program hangs with submit
Replies: 4
Views: 177

Re: C128 CP/M program hangs with submit

You could try skipping the whole malloc() part and try running it with a fixed 8192 buffer/array to see if something changes. A frequent problem when porting old K&R C program is the fcntl implementation, I think it is worth too check it as well. Also trying to run a GCC build helps, because of ...
by stefano
Mon Feb 26, 2024 11:40 am
Forum: Misc
Topic: Building libs based on C source?
Replies: 5
Views: 208

Re: Building libs based on C source?

https://github.com/z88dk/z88dk/tree/mas ... /c128/c128

..the source alone doesn't change much, but you need to export the objects properly in the header file.

https://github.com/z88dk/z88dk/tree/master/include/c128

See the Makefiles for the compiler/linker options
by stefano
Thu Feb 22, 2024 4:12 pm
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11229

Re: CP/M on the spectrum clones

Allan Hoiberg is sharing information regarding the CS-DISK interface. There were two different CP/M versions, the CP/M v1 was ROM based, CP/M v2 was loaded from disk. I think it required different memory architecture and paging addresses
by stefano
Wed Feb 21, 2024 3:13 pm
Forum: Sinclair ZX
Topic: SpecDrum and Covox
Replies: 0
Views: 230

SpecDrum and Covox

Long time ago I inserted a SpecDrum version of playzb4(). It is a WavePlay function originally created for the Commodore SID working on 4bit samples. The SpecDrum is rather uncommon and I preferred to leave it in source code form only. Now I discovered that the Scorpion and the Pentagon had their wa...
by stefano
Wed Feb 14, 2024 3:08 pm
Forum: Misc
Topic: Silly nOOb Question
Replies: 2
Views: 99

Re: Silly nOOb Question

No problem
We kow you now, and we are prepared :D
by stefano
Fri Feb 09, 2024 9:52 pm
Forum: Sinclair ZX
Topic: CP/M on the Spectrum: current library status
Replies: 2
Views: 192

Re: CP/M on the Spectrum: current library status

Thank you, I think I can make it, or at lest evolve the code avoiding a massive mess.

Today Allan Hoiberg sent me the binary dumps from his CS-DISK interface!
I think I'll focus on it first.
by stefano
Fri Feb 09, 2024 12:11 pm
Forum: Sinclair ZX
Topic: CP/M on the Spectrum: current library status
Replies: 2
Views: 192

CP/M on the Spectrum: current library status

I've been keeping a rather dispersive blog here: https://z88dk.org/forum/viewtopic.php?f=2&t=11860 Only four CP/M BIOS implementations kept the display page at $4000 and require the bouncer subroutine relocation in the CRT0 stub: This post is a first description on what has been achieved so far....
by stefano
Thu Feb 08, 2024 9:00 pm
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11229

Re: CP/M on the spectrum clones

I finally got a reasonably clean merge of the LEC CP/M stuff in appmake, crt0 and config.

the new build option is +cpm -startup=zxlec
by stefano
Mon Feb 05, 2024 4:18 pm
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11229

Re: CP/M on the spectrum clones

The LEC-CP/M. It works even on Microdrives or in RAM Disk on any diskless ZX Spectrum with a modified RAM ! To transfer the programs I set up a specific tape conversion tool, it's in {z88dk}/support/zx/cpm2tap.c mbasic_lec.png This is one of the few requiring only a simple "startup=" perso...
by stefano
Wed Jan 31, 2024 2:52 pm
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11229

Re: CP/M on the spectrum clones

The way I found to page in and out the display is very glitchy but sort of works (the lower display at $4000 is shown while drawing). I don't know if it is possible to avoid it, perbaps the CP/M was avoiding the glitches waiting the display raster retrace ? MicrosoftTeams-image (1).png The original ...
by stefano
Tue Jan 30, 2024 10:57 am
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11229

Re: CP/M on the spectrum clones

The ASC CP/M was yet another eastern (Ukraine ?) CP/M conversion to the ZX Spectrum developed by Andrew Strikes Code (ASC) and Alexander Shafir. It was designed to work on a memory mod called LSY-256 (with two shadow RAM pages) and the Betadisk controller. asc_cpm.png The disk format is basically th...
by stefano
Tue Jan 30, 2024 9:33 am
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11229

Re: CP/M on the spectrum clones

The CS-Disk, (Nederlands) This one, like the Dataputer DiskFace, had logic to overlap the ROM with a RAM page in the disk expansion. The BIOS was in ROM (as on the ATM-TURBO) and didn't require a disk to boot. https://upload.wikimedia.org/wikipedia/commons/d/d3/Zx-cpm.jpg So far i couldn't find the ...
by stefano
Sat Jan 27, 2024 10:32 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: The complete noob is back with other question! (colecovision)
Replies: 1
Views: 235

Re: The complete noob is back with other question! (colecovision)

I think that having an objective is the best way to ramp up the learning curve. I also wonder if you ever succeeded in building and running the z88dk examples. You could start altering those programs by adding what you are learning. Is also suggest to try another z88dk target, in example the msx. it...