Search found 2176 matches

by stefano
Mon Mar 18, 2024 4:48 pm
Forum: Sinclair ZX
Topic: ZX81, ARX graphics news
Replies: 0
Views: 5

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: 121

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: 159

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: 121

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: 159

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: 11058

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: 145

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: 65

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: 144

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: 144

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: 11058

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: 11058

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: 11058

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: 11058

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: 11058

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: 210

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...
by stefano
Thu Jan 25, 2024 1:00 pm
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11058

Re: CP/M on the spectrum clones

The Timex FDD-3000 CP/M disk format is now supported by appmake. It really is NOT strictly ZX Spectrum related, it runs the CP/M system on the internal Z80 and requires a remote terminal, which can be attached to the RS232 port or to a terminal emulation running on the Spectrum. In this second confi...
by stefano
Wed Jan 24, 2024 7:23 am
Forum: Bug reports
Topic: switch within switch
Replies: 6
Views: 500

Re: switch within switch

Sub functions?
Have you tried with an extra parenthesis enclosure?
Could you show a code snippet?
by stefano
Mon Jan 22, 2024 4:25 pm
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11058

Re: CP/M on the spectrum clones

I prepared a simple hack for the +CPM target, now -subtype=diskface should build a dataputer compatible CP/M program. In the meantime I've been warned that the MBASIC concept I've just announced is buggy and I noticed that also the plus3 mode looks weak. It could be for memory constraints, I'm inves...
by stefano
Fri Jan 19, 2024 10:22 pm
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11058

Re: CP/M on the spectrum clones

Back to the Dataputer DiskFace, it looks like my blind attempt to port MBASIC with graphics on it worked!
IMG-20240119-WA0001.jpg
This means that the disk format is good and that I can use the paging logic on z88dk.
Ironically this one is the easier to work out adapting the existing code.
by stefano
Wed Jan 17, 2024 6:59 pm
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11058

Re: CP/M on the spectrum clones

Paging basically works, i built DSTAR, It runs with no changes on the current z88dk set.
It crashes on exit though, probably trying to restore the default disk via a BDOS call.
by stefano
Wed Jan 17, 2024 5:26 pm
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11058

Re: CP/M on the spectrum clones

The CP/M 2.2 implementation on the +3 crashes at startup when running any existing version of MBASIC, including the so called OBASIC. It's very strange that Microsoft BASIC was mentioned as one of the working Softwares. I suspect the problem is on the memory assessment phase, but I couldn't track do...
by stefano
Tue Jan 16, 2024 1:04 pm
Forum: Sinclair ZX
Topic: CP/M on the spectrum clones
Replies: 35
Views: 11058

Re: CP/M on the spectrum clones

MBASIC concept extended to the ELWRO 800 Junior. D-FILE is at 0xE000 :rolleyes: Color attributes are tricky to work out, they had an extra mini memory bank and I haven't figured out the right way to access it. The text color handling is on the BIOS, easy to hook to the BASIC engine. As said MAME is ...