Are you developing a ZX8* program using ZXpand features?

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
Post Reply
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Are you developing a ZX8* program using ZXpand features?

Post by sirmorris »

Come on, I know at least 2 of you are.

Can we please have a discussion about your needs and desires? You don't need to let any cats out of the bag, but I feel a bit lost trying to imagine what people would need. At the same time people can't be expected to know what is potentially available so ... this thread.
Lardo Boffin
Posts: 2173
Joined: Sat Nov 26, 2016 2:42 am

Re: Are you developing a ZX8* program using ZXpand features?

Post by Lardo Boffin »

I was certainly thinking about it.

For me random file access would be heaven. Being able to specify a position in a file and an amount of data would be awesome. Being able to step through a file and find a specific piece of data (e.g. a record marker) would be a bonus but could be implemented just with basic access by stepping through one byte at a time I guess.

Also fixing the EightyOne emulator so it doesn't always create files read only would be cool. :D
ZX80
ZX81 iss 1 (bugged ROM, kludge fix, normal, rebuilt)
TS 1000 iss 3, ZXPand AY and +, ZX8-CCB, ZX-KDLX & ChromaSCART
Tatung 81 + Wespi
TS 1500 & 2000
Spectrum 16k (iss 1 s/n 862)
Spectrum 48ks plus a DIVMMC future and SPECTRA
User avatar
1024MAK
Posts: 5118
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Are you developing a ZX8* program using ZXpand features?

Post by 1024MAK »

It would indeed be handy if BASIC programs could read or write some kind of data file (even if it is just a binary file without any predetermined format) on the SD card.

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
dr beep
Posts: 2079
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: Are you developing a ZX8* program using ZXpand features?

Post by dr beep »

Only thing I built in is joysticksupport, when there is room.
Shaun_B
Posts: 474
Joined: Wed Apr 22, 2009 10:22 am

Re: Are you developing a ZX8* program using ZXpand features?

Post by Shaun_B »

I might one day progress to making ZXPand software. First though I need a ZXPand.

Thanks,

Shaun.
User avatar
Math123
Posts: 44
Joined: Sun May 11, 2008 11:14 pm
Location: Germany Wuppertal
Contact:

Re: Are you developing a ZX8* program using ZXpand features?

Post by Math123 »

Very interesting!

I am just ready with sound commands. Data file access is planned.
Have no idea how Joystick interface could look like.

Sound commands are like this:
BEEP time,pitch (compatible to the Spectrum)
PING pitch
WAIT time
And to switch between pitch in Hetz, C0 or MIDI:
PITCHF
PITCHC
PITCHM
And for all people who are familiar with the YM2149 registers:
YM register,value (8 bit)
YMX register,value (16 bit)

Preversion 1.5 with incomplete documentation but some demofiles is ready to download here http://www.swatosch.de/zx81/powerbasic1.5/
nollkolltroll
Posts: 325
Joined: Sat Sep 27, 2014 8:02 pm
Location: Stockholm, Sweden

Re: Are you developing a ZX8* program using ZXpand features?

Post by nollkolltroll »

It would be nice to have proper standardized set of API-calls: open/close file, read, seek, write etc. With simple calls, just load HL with a pointer to whatever data struct is needed, and check flags on return. This will make it easy to be compatible with future revisions, just use these API-vectors. BASIC extensions can/should be made by whoever feels the need. Concentrate on making the feature-set complete before going there.
A feature I'd love to have (will use asap) is fast sequential sector read, and I don't mind a more direct programming approach for this, kind of like how it is today. But in the end it would be nice to have generic streaming support and sector read/write via proper API-vectors.
I'll have a more thorough think about this and be back.
/Adam
Post Reply