-
Speccy RGB cable on ebayAnyone got this? [url]http://cgi.ebay.co.uk/Scart-cable-for-Spectrum-128K-3-2A-2B-free-shipping_W0QQitemZ130079309364QQihZ003QQcategoryZ50223QQssPage…
... flickery image on a high def LCD.... I suspect that's ... -
Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
... why:
[code]
DEF FN x$(a) = CHR$(a ... AND a>9))
DEF FN h$(x) = VAL$("FN ... -
Cybernoid editorSo, my long tern goal is to make my own Cybernoid or Rex like game (see an ancient thread about Sprite advice)...but my skills are somewhat lacking..…
... two-liner:
10 DEF FN x$(a) = CHR$(a ... a>9))
20 DEF FN h$(x) = FN x ... -
Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
... =Alcoholics Anonymous;171624][code]
DEF FN x$(a) = CHR$(a ... AND a>9))
DEF FN h$(x) = FN x ... -
Cybernoid editorSo, my long tern goal is to make my own Cybernoid or Rex like game (see an ancient thread about Sprite advice)...but my skills are somewhat lacking..…
... two-liner:
10 DEF FN x$(a) = CHR$(a ... a>9))
20 DEF FN h$(x) = FN x ... understand how Alcoholics Anonymous's DEF FN version works - so your ... -
Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
[code]
DEF FN x$(a) = CHR$(a+48+(7 AND a>9))
DEF FN h$(x) = VAL$("FN h$(INT(x/16))+FN x$(x-16*INT (x/16))"(1+(13 AND x -
Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
[QUOTE=Dr BEEP;171915]I would do it like this:
[code]
DEF FN h$(x) = "0123456789ABCDEF"(INT(x/16))+"0123456789ABCDEF"(x-16*INT (x/16))
[/code][/QUOTE]
Dr Beep, that is a very cool lateral solution, which even I understand! :-) -
Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
You have been using another computer :)
DEF FN h$(x) = "0123456789ABCDEF"([B]1+[/B]INT(x/16))+"0123456789ABCDEF"([B]1+[/B](x-16*INT (x/16)))
will print FOR i = 0 TO 255: PRINT FN h$(i) : NEXT i -
Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
... using another computer :)
DEF FN h$(x) = "0123456789ABCDEF"([B ... the perfect BASIC
DEF FN h$(x) = "0123456789ABCDEF"(.5 ... -
PAW tests - help and discussion :)Hello my friends :) I have started to make some tests with PAW and I must say I'm very pleased and surprised at the great program. I will be posting…
... the reason why I placed th instruction in the first place ... -
some of my favourite spec games...Hi, I just found this board so I thought I'd register. I didn't realise there was a speccy forum on the net - I even looked for one before and didn't…
[QUOTE=def chris;172239]^ you did that list? sorry if I sounded a bit harsh.[/QUOTE]
hi, err, yeah I made the listings (and trb in general). Nooo you didn't sound harsh! I liked the lennon & mccartney analogy though! -
PAW tests - help and discussion :)Hello my friends :) I have started to make some tests with PAW and I must say I'm very pleased and surprised at the great program. I will be posting…
... the reason why I placed th instruction in the first place ... -
problem on the video output (spectrum 2+)Hello, I'am french. (Sorry my english is very bad). I have a problem on my spectrum 2 +. At the beginner the picture (on my tv) have 2 area where 2 t…
Game I.D.can anyone help me out? its an olympic type sports game, and there was a cycling event, and the main thing I remember was the last event was a tug-o-…
[QUOTE=def chris;172981]can anyone help ...EHIS vs MD2The poll of Polls
[QUOTE=def chris;173650]Emlyn is top notch, still...[/QUOTE]
if you're rubbish at spotting good games.....:-PEver wonder what Harry Potter is up to nowadays?Daniel Radcliffe, the actor who plays Harry Potter, has been up to something a bit different lately: "Radcliffe plays troubled stableboy Alan Strang…
but he didn't want to be nude in the latest harry potter film
they superimposed his head onto someone else or something like that
looking good th?
now if only it didn't involve horsesGetting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…
In BASIC:
[CODE]
DEF FN a(y,x)=16384+x+(y-INT (y/32))*32+INT (y/8)*2048
[/CODE]Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…
... ]In BASIC:
[CODE]
DEF FN a(y,x)=16384 ... like:
[CODE]
DEF FN a(y,x)=16384 ...Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…
... like:
[CODE]
DEF FN a(y,x)=16384 ... brackets:
[code]
DEF FN a(y,x)=16384 ...Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…
For a function that gives you each line too:
[code]
DEF FN a(y,x,l)=16128+x+32*y+1792*INT(y/8)+l*256
[/code]
Where l takes the values 1 to 8. Change the 16128 to 16384 if you want to use 0-7 for the line numbers.Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…
... do what you want, the DEF FNs described here are very ... question for the gurus: Are DEF FN faster or slower than ...