Can I fix a 40 year old Sinclair ZX80 bug?

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

Комментарии • 108

  • @LittleCar
    @LittleCar  9 месяцев назад +10

    Walkthrough of the code for the new game - Golf 2024: ruclips.net/video/EyKLj9Da5P8/видео.html

  • @benc8386
    @benc8386 8 месяцев назад +53

    LET SHOT=RND(5) is a remarkably accurate physical simulation of my actual golf game.

  • @glonch
    @glonch 8 месяцев назад +12

    Awesome video - well done!... My mother was really into Search-A-Word puzzles... she would always do the one in the Sunday papers. When I was about 14 or so, I saw her doing the puzzle and I thought "I could make a program that could solve those", off to my Apple //c and started writing. I got wrapped around the axle about halfway through it and shelved the project. Fast forward a few years to when I was working the night shift with not much to do, I dusted off the program and after a few hours had it working. It would read in a text file with the grid and words and would print out on screen or paper the beginning/ending coordinates of each work (I didn't bother with any graphical 'circling' of the words, etc). Fast forward another 30 years and the only thing I had left was a printout of the program. After OCR, text editing, it came back to life. It was a stupid program, but it taught me a ton about logically figuring out a problem and having the computer solve it.

  • @MarcKloos
    @MarcKloos 8 месяцев назад +4

    My first micro was a ZX Spectrum 16k (after a 2 week drama with a half broken ZX81) and it got me into my computer career.
    Some 10 years ago I started collecting Spectrums, clones and assorted Sinclair stuff and now I have a huge connection, a little museum in the mencave even. I wish I would have the skills to have an interesting talk about each of them to make a RUclips channel out of it, but more than "hey look, this is a Spanish Spectrum, the keyboard looks slightly different" I wouldn't know what to tell an audience! Some people just have the skills to talk very engaging about mundane subjects. Tech Moan is also such an example!

  • @NeroVingian40
    @NeroVingian40 8 месяцев назад +17

    The thing I like the most about you was how you are both a car and a tech nerd lol

  • @rodoherty1
    @rodoherty1 8 месяцев назад +17

    Please start up the LittleCoding channel and post more videos like this.

  • @Grid56
    @Grid56 8 месяцев назад +4

    Oh the memories....ZX81 , BBC Micro, BBC Master, Amiga 500+. ...Typing in BASIC programs from the magazines around at the time, then spending the rest of the time fixing them when they didn't work. The best way to learn. Stood me in good stead for a career on mainframes. The 81 could be annoying as just as you got loaded, the ram would fall off the back and crash....Cue the velcro!

  • @MartinIbert
    @MartinIbert 8 месяцев назад +8

    Thanks for this, it was fascinating to watch! I started my coding journey at around that age too, but with my father's PET 2001. My father was very forward-thinking in letting his sons play with a seriously expensive machine that he used to feed our family. That was the foundation for my carreer in IT. Which so far (I am 57 now) has been reasonably successful.

    • @Lensman864
      @Lensman864 8 месяцев назад +2

      I love the 2001 series Commodore PET. I used them at my further education college in Newcastle back in 1982. To this day they LOOK like a computer should even if the keyboard was ... challenging.

    • @MartinIbert
      @MartinIbert 8 месяцев назад

      @@Lensman864 My dad had the keyboard replaced by something sensible that spanned the whole front of the thing, and the datasette was relagated to an extra housing.
      I don't want to know what that modification cost.

    • @alanclarke4646
      @alanclarke4646 8 месяцев назад

      We had PETs at college. I loved the sloping sides to the monitor casing!

  • @davewaterworth8846
    @davewaterworth8846 8 месяцев назад +1

    I didn't realise the ZX80 had a ram expansion - I knew the ZX81 did, along with the much curse crashes due to the design making it prone to the dreaded wobble crash!

  • @IanHodgetts
    @IanHodgetts 8 месяцев назад +1

    Very nostalgic. I too started programming early (age 10) but on a ZX81. That at least had the capabilities for some better screen refreshing and I managed to write a few games for myself even in 1K. I soon progressed to the infamously wobbly 16K RAM pack ;-)

  • @fredsmith1970
    @fredsmith1970 8 месяцев назад +5

    Yay - Sinclair basic from the 80's... brings back the memories 🙂

    • @monteceitomoocher
      @monteceitomoocher 8 месяцев назад

      Sure does, i built this from a kit and had a lot of fun with it, wish i hadn't binned it along the way!.

  • @zappababe8577
    @zappababe8577 7 месяцев назад +1

    My ex insulted me once by saying that I was like a ZX, in that I only had 1K of RAM! Although at another time he said, "You look stupid, but you're quite clever really".

  • @kevinsmith9899
    @kevinsmith9899 9 месяцев назад +3

    Thanks for the fun trip down memory lane. I still have a print-out of a dungeon crawl I wrote in BASIC at around the same time that you were working on your golf game. I wasn't quite as constrained, as my Sol-20 computer had a bit more memory available, and I used a more powerful version of BASIC (NorthStar). It was a lot of fun to code back then, even if we weren't very skilled at it.

  • @cedley1969
    @cedley1969 8 месяцев назад +1

    ZX81 was my first, I think the scope of what you had taught more elegant programming, frugal equals efficiency.

  • @rodcorkum8482
    @rodcorkum8482 4 месяца назад

    I’m in Canada. I still have my first computer ... the Sinclair ZX-81 with the RAM pack ... although gathering dust for many years now. I’ve heard its most popular use was as a door stop (the wedge shape).😄 It had a persistent problem in a random momentary power flicker during entry of the program erasing everything entered so I quickly learned to save about every few lines. However that “flicker” never happened when you loaded and were running a program.

  • @kevinobrien5450
    @kevinobrien5450 8 месяцев назад +1

    My first programming experience was a Research Machines RML380Z at school. We had to book time on it as there was only 1. Shortly after that I got a ZX81, then a VIC-20, then a CBM-64. By that point the ZX Spectrum and BBC Micros were out. School invested in a lab of networked BBC Micros. Went to university and used DEC VAX and IBM PC clones. Bought myself an Atari ST and used that for some of my college work. Fun memories.

  • @garrylawless3550
    @garrylawless3550 2 месяца назад

    Thanks Andy, back in the day I had the ZX81, a special pack Boots were selling including a 16k ram Pak and VU3D Database. I used to like trying the programs that were in the magazines, but I wasn't as good as you to type my own. Even in its basic form, I would have really enjoyed your golf game, back then if you owned a ZX80/81, part of the experience was using your imagination with games, as quite often they were just text based. Thank you for uploading this. 👍🏻

  • @AdamJRichardson
    @AdamJRichardson 8 месяцев назад +1

    Cut my coding teeth on a ZX81, must have been in 1982, so this brought back fun memories! I remember painfully typing in games from magazines, with 0% success rate lol

  • @JenniferinIllinois
    @JenniferinIllinois 8 месяцев назад +2

    Ah that takes me back. BASIC programing on the Commodore 64 was my thing back in the day. Definitely a whole lot more available than on your ZX80. 😉

  • @chrispenn715
    @chrispenn715 7 месяцев назад

    Ah! Brings back memories of my hacking away with a zx81. Helped me in my career a few years later! I got a management job in an office that was being computerized. Every other manager was much older and terrified of computers. I just piled in😂

  • @majormojo
    @majormojo 8 месяцев назад

    Love it! As a fellow recovering programmer with an interest in vintage computing, this is a fun diversion from the car content. 10/10 recommended. Cheers!

  • @rusty911s2
    @rusty911s2 8 месяцев назад

    Excellent! Really enjoyed that, thank you.
    Just looked it up, £99 in 1980 is over £530 today. Just look at what computimg power (or any other home tech) you could get for that now.

  • @Bicyclehub
    @Bicyclehub 8 месяцев назад +1

    This was surprisingly good fun! I did a lot of programming with Basic in 2007. I needed to do some extensive calculations and remembered all the Basic functions from a college course in 1980. It’s a very intuitive language and can do some quite powerful things.

  • @JJonCars
    @JJonCars Месяц назад

    YT algorithm just served this up to me, funny that we're both software engineers and car RUclipsrs 😄 Enjoyed the video. Going through ones own code from years ago is always going to be an interesting experience, but the code wasn't bad at all for an 11 year old 😁

  • @AwakeTruthSeeker
    @AwakeTruthSeeker 6 месяцев назад +1

    I think I saw that in the magazine when I was young and entered it into my ZX80, with a few modifications. Or maybe it was on my ZX Spectrum. Either way, that was a long time ago.

  • @thatcheapguy525
    @thatcheapguy525 8 месяцев назад +3

    closest thing I got to a ZX80 was a Texas Instruments TI30 LED Scientific calculator (not enough pocket money) which in itself was a massive leap at the time. fascinating how with a bit of experimentation and plain butchery I got it to play synth type sounds through a speaker where each number pressed on the keypad produced a different 'note.'
    15 years later I was using Cubase an Atari ST in my home studio to link a Boss Dr Rhythm, Yamaha keyboard and Tascam 8-track to very unconventionally create heavy rock music. amusing looking back now...

    • @Lensman864
      @Lensman864 8 месяцев назад +3

      It's a little known fact that the ZX80 can be coerced into making tunes.
      Set up some different sized loops and place a small radio on top of the ZX80. Tune the radio until you hear the CPU cycles (via the Z80A's extensive r.f leakage) and when the loops are triggered it'll play pitches.

    • @thatcheapguy525
      @thatcheapguy525 8 месяцев назад +2

      @@Lensman864 lol. old high tech was certainly something for the creative mind in quite unintended ways.

  • @frazzleface753
    @frazzleface753 Месяц назад

    Congrats for getting your program into a magazine - that must have been exciting as an 11 year old - especially back then. :)

    • @LittleCar
      @LittleCar  Месяц назад

      It was quite amazing. Seeing my name in print. And the £12.50 or whatever it was made me feel rich.

  • @Lensman864
    @Lensman864 8 месяцев назад +5

    The World's Greatest Adventure Game!
    10 PRINT "Welcome to the world's greatest adventure game: you are a great warrior!"
    20 PRINT
    30 PRINT "You are in a dark place. What is your command mighty warrior?"
    40 INPUT A$
    50 CLS
    60 PRINT "I'm sorry. I didn't understand that."
    70 GOTO 30

    • @LittleCar
      @LittleCar  8 месяцев назад +1

      😂

    • @melkiorwiseman5234
      @melkiorwiseman5234 8 месяцев назад

      That's even better than "Doctor Z" where it asks you about 5 randomly selected pseudo-psychological questions, ignores your answers and then says that you're making a real effort to solve your problems and asks you when would be a good time for another appointment. Again, it ignores your answer and just says that would be fine. 😅

  • @UncleJoeLITE
    @UncleJoeLITE 9 месяцев назад +1

    Thanks Andy, I forgot no arrays on ZX, but a decent work around. I also use emulators for most of my collection, just check/test them every year. The 68020 Amiga 500+++ with Gotek gets used a bit. My oldest pc atm is a 1983 VIC-20 ('3583 Bytes Free' is not overkill) & a rare Welsh Dragon 32, but no ZXs.
    I did look at ZX81 before buying a VIC, but even back in the Middle Ages the ZX was primitive.

    • @LittleCar
      @LittleCar  9 месяцев назад +2

      As my parents got the ZX80, and as Sinclair was so big in the UK, I was on the Sinclair track all the way until I got an Atari ST. But yeah, not the best quality.

  • @8_Bit
    @8_Bit 9 месяцев назад +1

    That's really cool that you had a game published in a magazine way back then! I suppose the magazine editor called it a "program" rather than game because there wasn't much interactivity? :) (also interesting that they didn't use the "programme" spelling). Your 2024 update is (of course) a huge improvement with actual gameplay. Fun stuff, thanks for sharing.

    • @LittleCar
      @LittleCar  9 месяцев назад +3

      "Program" was in common usage in the UK at that time for a computer listing (even games), and has stuck.
      dictionary.cambridge.org/dictionary/english/program

    • @8_Bit
      @8_Bit 9 месяцев назад +1

      @@LittleCar Cool. For whatever reason here in Canada, educators and journalists (and whoever else was writing about computers) often continued to use the "programme" spelling for computer programs. I guess they didn't know even the UK wasn't sticking to that!

  • @zapod20
    @zapod20 8 месяцев назад

    Nice bit of nostalgia there. I sent a ZX Spectrum program to the cassette magazine 16/48 - an ambitious wordsearch generator where you keyed in some words and it laid them out randomly on a grid. I tried to write an algorithm where words with shared letters would overlap but it never worked properly on the diagonal words. The editor of 16/48 wrote a very kind letter pointing out this bug and the program never got published… oh well.

    • @LittleCar
      @LittleCar  8 месяцев назад

      I remember that magazine! Free cassette on every cover if I remember.

  • @mancroft
    @mancroft 8 месяцев назад

    When you get to the Pearly Gates, Saint Peter will say, "We know that you once wrote code in BASIC. You have suffered enough. Skip Purgatory and come straight in".

  • @spinnetti
    @spinnetti 7 месяцев назад

    What!? You are a Zeddy guy as well as a car guy!? Me too! Even though across the pond, the Zeddy was my first computer, and I still write games for it. Basic is for ******s though. Gotta do assembly on the Zeddy! Me and a buddy did a passable Donkey Kong (Zonkey Kong - its out there free with a google that runs on the real thing or an emulator like EightyOne - also free and best on a 16k ZX81) and are working on a high res (with sound) version of Robotron (Robotack) now designed to work with WRX high res and ZONX sound - implemented in the ZXPAND add-on :)

  • @delusionnnnn
    @delusionnnnn 6 месяцев назад

    As an American, I've never encountered Sinclair computers in the flesh. I think I saw the four-line Timex Sinclair 1000 on a store shelf, that's about it. But I wonder if its keyboard was as painful to use as the Atari 400 I had for a while (before I gave it up for a C64, a much better fit). My fingertips ache even thinking about typing a small program on one of those.

  • @leesmusic1
    @leesmusic1 6 месяцев назад

    Wow, this takes me back to the Basic days on the Vic 20. I’ve been a .NET developer for 17 years now, but miss the creativity of having 3.5k to work with 😂

  • @darrensmith6999
    @darrensmith6999 8 месяцев назад

    God i remember getting my ZX Spectrum Pluss in 1985 mainly for the games it supported and spent many a happy hours playing them.
    I used to get all the Specky magazines and spent a lot of time typing in these programs from the mags, only to find at the end that they didn't work Haha (:

  • @mrjsv4935
    @mrjsv4935 8 месяцев назад

    Nice Basic programming and update to your old game :)
    I still have my first computer too from the 80's, a "Finnish" Salora Manager, which was known elsewhere as Vtech Laser 2001, and used to type in games from computer magazine program lists for this computer. Later got Commodore 64 and did the same thing, but sold the C-64 in 1991. Now I have the Mini C-64, which doesn't have working physical keyboard, but I have external usb keyboard, which works with it.
    Have been thinking of trying out some Basic programming with these, but for the Salora, tape drive condition is terrible, so I have no way to save the program.
    Mini C-64 could save it, but Commodore special characters present a problem, as the modern usb keyboard obviously doesn't have them marked, so I'd have to try and test every one of them.

  • @Robert08010
    @Robert08010 8 месяцев назад

    If you added to this, it could be playable. Imagine each hole may take 1 or multiple swings, each time may result in landing in the rough or a sand trap or on the green or in the hole, etc. but not just at random. You could incorporate something like the old lunar lander program or the "gorillas.bas" program where for each swing you enter in a angle and strength. Or maybe an angle and a club. For it to continue to be playable, you might have a database of variously shaped holes and then randomize the order of the hole data at the beginning of each game.

  • @zx85
    @zx85 8 месяцев назад

    I'm impressed that you got all that into 1K 🙌🏻👏🏻

    • @LittleCar
      @LittleCar  8 месяцев назад +2

      Not the new game - that was more like 4K.

    • @zx85
      @zx85 8 месяцев назад

      @@LittleCar 1K really was quite the constraint wasn't it - 11 year old Little Car did well to fit it in.
      We considered ourselves lucky to get a wobbly 16K RAM pack for our ZX81.. wouldn have been little more than a novelty without it...

    • @paulsengupta971
      @paulsengupta971 8 месяцев назад +1

      I used to be able to write a lunar lander game in 1K on the ZX81. I never bothered saving it, I just typed it in again from memory (or making it up as I went along) each time. Someone in school saw me do that one day and was absolutely astonished that I got that game into 1K!

  • @guepar58
    @guepar58 8 месяцев назад +2

    I'm quite sure I copied it on my Timex Sinclair 1000 !!

  • @thomasfrancis5747
    @thomasfrancis5747 8 месяцев назад +2

    Blimey a working ZX80. Many years ago I bought one at a car boot sale for £1 and promptly sold it for £200 - they're worth even more now. First programming I worked with was Star Trek in Cobol on a university mainframe in 1979 using punched cards but my first micro was a Video Genie TRS-80 clone - not bad for its time. Wonder how kids these days would get on with Basic.

    • @paulsengupta971
      @paulsengupta971 8 месяцев назад

      ZX Basic and those of other 1980s microcomputers was a fantastic start for a lot of people into computing, including myself. An interpreter which was active as soon as you switched the thing on meant simplicity in getting started, and you could progress to machine code/assembly language quite easily as well. This has all been lost these days.
      LET EGGS = 48...

  • @jasejj
    @jasejj 8 месяцев назад +1

    You could have used a series of sub routines for the if-then conditions, and called them using "GO SUB 400+10*Z" - I believe Sinclair basic allows you to do that.
    I think you could probably use TL$ and TR$ to slice up a single string containing all five option strings and use that to print out in a few lines of BASIC - something like
    LET OUT$=""
    FOR X=1 TO (Z-1)*L
    LET OUT$=TL$(OUT$)
    NEXT X
    FOR X=1 TO (5-Z)*L
    LET OUT$=TR$(OUT$)
    NEXT X
    PRINT OUT$
    Yes I know this is taking it to extremes but it demonstrates that it can, technically be done!

    • @LittleCar
      @LittleCar  8 месяцев назад +1

      Both great ideas, thanks!

  • @Jimyjames73
    @Jimyjames73 8 месяцев назад

    I had a Sinclair ZX81 for my 1st Computer, then I went on to have a Sinclair Spectrum Plus - yeah I used to like to do some programming for both computers - I used to buy 'Your Sinclair' & 'Sinclair User' & spend hrs just copy the programmes from the Magazines to my Computer, Then I used to save it on to my ZX Microdrives!!! 😉🚂🚂🚂

  • @rome0610
    @rome0610 8 месяцев назад +2

    Looking through my old code (I preferred PASCAL) I mostly think "What the heck I was thinking at this?!"😜

  • @brighb
    @brighb 8 месяцев назад

    Related but unrelated, would love to see one of your videos on the Sinclair C5!

    • @LittleCar
      @LittleCar  8 месяцев назад +2

      That would be fun

  • @martinstephenson2226
    @martinstephenson2226 8 месяцев назад

    I wrote a basic game of solitair (patience) on the ZX80 in my youth using the rand function to generate a random deck of cards to deal and draw from. Must've been around 15 (now in my 60's). Became a civil engineer though not a progammer

  • @soberhippie
    @soberhippie 8 месяцев назад

    Does that primitive basic have substring operations? If so, you could have one long line of outcomes and and array of indexes

    • @LittleCar
      @LittleCar  8 месяцев назад

      Sort of. See the code review of the Golf 2024 game I linked in the description.

  • @carlstevenwilletts
    @carlstevenwilletts 8 месяцев назад

    Anyone remember the Input magazine from the early 1980's? I would spend a long time typing in the included programs on my Commodore Vic 20 only to find that a lot of them had errors. :D

  • @stuartmcconnachie
    @stuartmcconnachie 8 месяцев назад

    It would be fairly easy to loop around the shots on each hole. So for a 3 on a hole you’d see…
    The ball is in the rough
    The ball is on the green
    The ball is in the hole

  • @yasua7000
    @yasua7000 8 месяцев назад

    Golf 2024 looks like an early, text only version of Lee Carvallo's Putting Challenge.

  • @mattburland8105
    @mattburland8105 8 месяцев назад +2

    And to think, this was the original version of EA's PGA Tour game.

  • @BsktImp
    @BsktImp 8 месяцев назад

    Could you POKE and CALL and thus write machine code routines on the ZX80?

    • @LittleCar
      @LittleCar  8 месяцев назад

      Well, there's a POKE command, and PEEK is listed in the manual, but not available to use on the keyboard!

  • @OneOfThePetes
    @OneOfThePetes 8 месяцев назад +3

    Wooo BASIC!
    :)

  • @bozz1954
    @bozz1954 8 месяцев назад

    I bought a ZX 80 way back then. It lasted 30 min before dying and it took me 6 months to get my money back

  • @nickbeer2658
    @nickbeer2658 8 месяцев назад

    Is that Hitachi TV a CWP132 by any chance?

    • @LittleCar
      @LittleCar  8 месяцев назад

      It is. Still works great.

  • @janstrom3482
    @janstrom3482 8 месяцев назад

    Old computing ❤

  • @ianhaylock7409
    @ianhaylock7409 8 месяцев назад +1

    Ha, the new code has a bug as it doesn't print the score for the last hole in the table. Guess we have to wait for another 45 years for that to be fixed.

  • @andygozzo72
    @andygozzo72 8 месяцев назад

    try using single letter variables, you might then get it in 1k.... also you could've had string arrays in zx81 basic,, you can put a zx81 rom in a zx80 and it'll work as a zx81 except you'll still get the display blanking, thats down to the display hardware, unfortunately,

    • @LittleCar
      @LittleCar  8 месяцев назад

      I wanted to try to restrict myself to the ZX80 ROM as a bit of a challenge. I originally hoped to make it 1K, but it ended up at least over 3K, so the variable name trick wouldn't have helped.

    • @andygozzo72
      @andygozzo72 8 месяцев назад

      @@LittleCar the zx80 used to have a 3k rampack, before the 16k one came out, wonder if it'd work with one of those, they're as rare as honest politicians, now, but may be possible to set an emulator to 4k (this pack added 3k on, making 4k total, not disable the internal ram like the 16k and most others did)

    • @LittleCar
      @LittleCar  8 месяцев назад

      Maybe, but typing that program in on a real machine would do my head in.

    • @andygozzo72
      @andygozzo72 8 месяцев назад

      @@LittleCar hehe, people did back then😉 i never had a zx80 when 'current' but did start with a zx81 ..

  • @CarstenMK
    @CarstenMK 5 месяцев назад

    Build the black Sinclair ZX-81 myself.

  • @TomStorey96
    @TomStorey96 8 месяцев назад

    I wish I had some early examples of my code to compare how far I've come. But alas. Maybe I can spare myself the cringe afterall 😂

    • @TomStorey96
      @TomStorey96 8 месяцев назад

      I remember doing silly things like repeating chunks of code because I didn't understand loops properly, although I now know this can be a certain optimisation technique known as "loop unrolling", not that I think it really helped that much at the time. 😊

  • @craiggilchrist4223
    @craiggilchrist4223 8 месяцев назад

    Upload it to the Internet Archive.

    • @LittleCar
      @LittleCar  8 месяцев назад

      They don't want my rubbish!

  • @kwikbit
    @kwikbit 8 месяцев назад

    Can the RND fn not also give you a 0 🤔? 🤓

    • @LittleCar
      @LittleCar  8 месяцев назад

      I remember PI/PI and PI-PI on the ZX81 used less bytes than 1 and 0 for variables.

  • @chrispenn715
    @chrispenn715 7 месяцев назад

    Anybody else progressed from a ZX to a Dragon 32? (Like I did) 😂

  • @pdsnpsnldlqnop3330
    @pdsnpsnldlqnop3330 8 месяцев назад +4

    The use of variables that are not single letter is not period correct. My inner 11 year old objects to the inefficient use of memory. Besides, you should have been writing it in machine code with just one REM statement. Everyone prefers entering hex code from a magazine, don't they?
    Imagine kids doing it now. They would get ChatGPT to write the code, they would have jQuery and a trendy Javascript framework on the front end, with gibberish cribbed from Stack Overflow. On the backend they would need to load another object oriented framework, to store the data in Firebase and using a constellation of AWS nano services to make it work in the cloud.

    • @LittleCar
      @LittleCar  8 месяцев назад +1

      Gotta use I as a variable everywhere.

    • @pdsnpsnldlqnop3330
      @pdsnpsnldlqnop3330 8 месяцев назад

      @@LittleCar I was also impressed by your golf knowledge, in period the game was not as big as today. I would not have had a clue and nobody aged 11 played in my world.
      One topic that does deserve a video is that BASIC and the PC was a step backwards.
      Microsoft was BASIC not that we realised at the time. It comes with concepts such as line numbers, and, when I learned real code, I had difficulty unlearning some of these things.
      This is how BASIC set the world back.
      The PC was a disappointment to me, coming from a BBC Master, I felt 'is there all there is?'
      Everything had been worked out in UNIX and that is what we really have today, but the PC undid it all, to make things like networking need to be reinvented. Yes I thought MS Word was great and there was so much coming out, but, on reflection, it set us all back.
      I think that a video along the lines of what would have happened if we had not have gone down the BASIC/MS-DOS path would be great.

  • @ajax700
    @ajax700 8 месяцев назад +1

    Why stopped working as programmer?
    Best wishes.

    • @LittleCar
      @LittleCar  8 месяцев назад +1

      I wanted a change. Making YT videos is a new challenge.

  • @baltasarq
    @baltasarq 8 месяцев назад

    I grew up with a Spanish ZX Spectrum 128k. It was a little bit more powerful than the ZX80. About the problem with the if chain, which you mention you would convert it to an array of strings, you can make something up with subroutines. GOSUB is able to jump to the contents of a variable, so you could do something like:
    70 GOSUB 5000 + (SHOT*10)
    5010 PRINT "IS x": RETURN
    5010 PRINT "IS y": RETURN
    5010 PRINT "IS z": RETURN

    • @LittleCar
      @LittleCar  8 месяцев назад

      Thanks for the example. I still think a string array would be more elegant, and this would have worked on something like a Commodore 64, but even Spectrum 128K BASIC didn't allow multiple statements per line (to my recollection).

    • @baltasarq
      @baltasarq 8 месяцев назад

      @@LittleCar Yep, a string array would be more elegant, and you could write something like that with a Speccy 16k (not sure about the ZX81).
      About multiple statements per line, you can use them for sure! Just separate them with a colon, i.e.:
      10 let x = 0: let y = 0: let z = 0: if y > z then goto 10

    • @LittleCar
      @LittleCar  8 месяцев назад +1

      Really? It's been too long since I used my Spectrum 128 (sadly sold many moons ago).

    • @baltasarq
      @baltasarq 8 месяцев назад

      @@LittleCar Absolutely!!
      (Did you really have the soul to sell your speccy?? 😪

  • @HansBezemer
    @HansBezemer 8 месяцев назад

    Made a structured version of the original in uBasic/4tH:
    Do
    Proc _Golf
    Input "AGAIN? (Y=1, N=0) "; a
    While a
    Loop
    End
    _Golf
    Local (3)
    For a@ = 1 To 5
    Print
    Next
    Print "GOLF"
    Print "****"
    Let c@ = 0
    For b@ = 1 To 9
    c@ = FUNC(_Play (b@, c@))
    Next
    Print "YOU HAVE FINISHED WITH A SCORE OF "; c@
    If c@ < 10 Then Print "SEE YOU AT GLENEAGLES"
    If c@ > 20 Then Print "SELL YOUR CLUBS"
    If (c@>9) * (c@