how do i store a disk directory listing in +3 basic as a string?
how do i store a disk directory listing in +3 basic as a string?
i cant seem to find anything in the manuals about this.
i started programming the spectrum when i was 8 :-
1 plot rnd*255,rnd*175
2 goto 1
1 plot rnd*255,rnd*175
2 goto 1
Re: how do i store a disk directory listing in +3 basic as a string?
With difficulty. You'd have to load a custom channel driver to send it to. Garry Lancaster built this ability into his +3e ROMs: https://worldofspectrum.org/zxplus3e/channels.html
Re: how do i store a disk directory listing in +3 basic as a string?
yeah, i know. this was easy to do. there doesnt seem to be an equivalent in +3 basic
i started programming the spectrum when i was 8 :-
1 plot rnd*255,rnd*175
2 goto 1
1 plot rnd*255,rnd*175
2 goto 1
Re: how do i store a disk directory listing in +3 basic as a string?
whats a custom channel driver? is it like "p","s",etc? how would i do that?Guesser wrote: ↑Sun Aug 02, 2020 12:50 pm With difficulty. You'd have to load a custom channel driver to send it to. Garry Lancaster built this ability into his +3e ROMs: https://worldofspectrum.org/zxplus3e/channels.html
i started programming the spectrum when i was 8 :-
1 plot rnd*255,rnd*175
2 goto 1
1 plot rnd*255,rnd*175
2 goto 1
Re: how do i store a disk directory listing in +3 basic as a string?
In a standard +3 you need mc to make it. You can use the dos_catalog call example from the manual (https://worldofspectrum.org/ZXSpectrum1 ... 8pt26.html) and then, in BASIC, read the memory to a dim/string.
Re: how do i store a disk directory listing in +3 basic as a string?
Here you can find a routine:
http://www.users.globalnet.co.uk/~jg27p ... ntents.htm
(see "+3 CAT to string")
http://www.users.globalnet.co.uk/~jg27p ... ntents.htm
(see "+3 CAT to string")
Re: how do i store a disk directory listing in +3 basic as a string?
ty, just what i need+3code wrote: ↑Sun Aug 02, 2020 1:28 pm Here you can find a routine:
http://www.users.globalnet.co.uk/~jg27p ... ntents.htm
(see "+3 CAT to string")
i started programming the spectrum when i was 8 :-
1 plot rnd*255,rnd*175
2 goto 1
1 plot rnd*255,rnd*175
2 goto 1