-
File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy
File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy
File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy
File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy
... TO 23408
150 PRINT CHR$ PEEK a;
160 NEXT ...checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…
... $-1: DEF FN c()=INKEY$=CHR$ 13
9991 FOR ... ),;:
LET a$(FN l())=CHR$ FN h(a$(FN l ...JHCon Basic GOTO-less CompoHi there, I've just announced a ZX Spectrum 16/48K Basic compo for JH-Con party in December, with some rules. For details and rules, please visit my …
... color and perhaps a premature CHR$13.[/QUOTE]
The ...New Tool: CheqEdit[b]CheqEdit[/b] it's a simple and small program that helps you to draw 64x48 graphics on screen in GRAPHICS MODE. Program can output as text in CHR$ …
... CHR$ 142;" ";" ";" ";" ";" ";" ";" ";" ";" ";CHR$ 132;CHR$ 143;CHR$ 143;CHR$ 143;CHR$ 143;CHR$ 139;" ";" ";" ";CHR$ 132;CHR$ 141;CHR$ 143;CHR ... $ 143;CHR ...saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …
... =av-ap: LET l$=CHR$ FN g(l)+CHR$ FN h(l ... $=f$+l$+CHR$ k0+CHR$ VAL "128"+(l$ AND apv)+((CHR$ k0+CHR$ k0 ...3 lines of funHello! I'm looking for a tattoo to remember forever our fabulous 8 bit era. A part the pictures I posted here [url]http://www.worldofspectrum.org/for…
... QPJIAAAAMCHR$ (63+CODE (g$(x)));: BORDER RND*7: NEXT x< ...3 lines of funHello! I'm looking for a tattoo to remember forever our fabulous 8 bit era. A part the pictures I posted here [url]http://www.worldofspectrum.org/for…
... QPJIAAAAMCHR$ (63+CODE (g$(x)));: BORDER RND*7: NEXT x< ...3 lines of funHello! I'm looking for a tattoo to remember forever our fabulous 8 bit era. A part the pictures I posted here [url]http://www.worldofspectrum.org/for…
... IPFEQJABPFJMLIGCHR$ (63+CODE (g$(x)));: NEXT x
9930 ...IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…
... can I use say INKEY CHR ?[/QUOTE]
it depends ... ,you may use "IF INKEY$=CHR$ 13 THEN ..."
You cannot ...IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…
... can I use say INKEY CHR ?[/QUOTE]
Hi Fog ...Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…
... : PRINT
;; 20 PRINT F;"= ";CHR$(143+F);" =";143+F:NEXT ...Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…
... : PRINT
20 PRINT CHR$(143+F);" = CHR:";F
30 NEXT ...fav spectrum charactermy fav spectrum character is called dizzy
10 PRINT AT 0,0; CHR$ 134; CHR$ 128; CHR$ 137
either 134 or 137 :-(
in our day we had no sprites and were lucky to get a UDGRFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…
... =32 to 127: PRINT #4; CHR$ (f+128);: NEXT f[/CODE ...Mazes and Tremaux's AlgorithmI've done a version of Tremaux's maze solving algorithm which solves my current test maze with 400 junctions and 715 connections in a reasonably quic…
Arjun posted a link earlier to a page with descriptions of numerous maze types and solving algorithms. I didn't actually use Tremaux's Algorithm in the end because, although it's simple (see second code segment below), it assumes that all available forward ...UDG designer?Looking for a good UDG designer that I can save my designs as binary files to load back into ZX Spin... Any ideas?
I'm just about to start writing my own! It can't be that hard. I only need a basic BASIC one to design small sprites in. I think I'll be making heavy use of CHR$ 143.Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…
... : PRINT
20 PRINT F;"= ";CHR$(143+F);" =";143+F:NEXT ...problem with RND (or maybe INT)I'm using this statement: LET m=(INT (RND*sn)+k1)*k2-k1 to give a pointer m to a 2-byte segment of a string l$. Items k1 & k2 are integer constants…
... "1361"
1341 LET e$=CHR$ kG+CHR$ k5+"DROP "+STR$ sc ...
