I've had an Acorn computer of one sort or another for over 20 years. The latest, if you can call it that, is the A7000. I use it for keeping my weather records, creating my own little games and general mathematical recreations. The BBC Basic is so easy to use I can write programs blindfold, pissed and hanging from the doorway (like the young lady from Norway). (Darren) I used to write machine code stuff on the Spectrum. What a bunch of nerds we all are. :-)
Me too! Well, sort of. I began my computer career with a Commodore Vic 20. If memory serves me right it had 3.5K of memory and I thought that was somewhat extravagant. How times change. From there I progressed through a C64 an Amstrad 128 (colour!) and then into IBM compatibles - originally the 640K monsters and then the 286 processors and onwards. I have never coded in machine code but had an absolute ball (and much satisfaction) using the various breeds of BASIC. I feel that I must have had more time on my hands than I now do. I do remember 'inventing' a tree-sort programme in BASIC - it took me ages to get it working properly - only to find that I'd simply reinvented the wheel. Still, it worked well and put the 'bubble' sorts of the day to shame. Whilst I've taken the trouble to learn COBOL - because of where I was working at the time - I really have not progressed much further. I had (long forgotten) a smattering of 'C' and a couple of its later incarnations but was most assuredly not adept at either. All the later stuff seems too verbose to me. Bring back the days of tight code - someone else may not be able to read it but that's their problem!
You know, I can still remember some of the POKE and PEEK codes for the Commodore 64. 53280 was to change the border colour, 53281 the screen colour. I felt just like a real programmer!And when I worked out how to do multicoloured sprites (in *four* colours) - well.
Looks like an appropriate place to remind us of Hey Hey, 16k too...
(Breadmaster, Darren) Yep, happy days. I always thought POKE a bit rude and if you POKEd the wrong number in it all crashed. (nights, Uncle K) Up here on the Downs at Warlingham, aka Little Siberia, the houses are groaning under the weight of a good inch of snow. We were told to expect 10-15 centimetres (whatever they are) and more on hills (i.e. here). As someone who used to be in the business all I can say is that the forecast was hysterical.
[Rosie] BBC BASIC didn't have POKE, per se. It had other indirection operators, $, ? and !, which allowed memory to used rather like variables. For example, ?A=B would be the same as POKE A,B; and A=?B would be the same as A=PEEK(B). ! allowed 32-bit access rather than the 8-bit access provided by ?, and $ allowed string peeks/pokes. Furthermore, you could combine each operator with an offset, so A?2=B?4 would be equivalent to POKE A+2,PEEK(B+4) in other versions of BASIC. Although ? was arguably less clear than PEEK, ! and $ made memory access a lot clearer if you were dealing with larger data than single bytes. It also let you do some tricks which seemed mystifying to the uninitiated, such as CALL !-4 which would have the same effect as pressing the BREAK key!