Пропустить навигацию
Flying a simulated spacecraft controlled by a ZX Spectrum and Sinclair BASIC my first computer and…
0:00 / 1:19

Flying a simulated spacecraft controlled by a ZX Spectrum and Sinclair BASIC my first computer and…

Scott Manley

@DJSnM697 тыс. подписчиков

Открыть в X
1 135 отметок «Нравится»СкачатьОригинальный пост

62 474 просмотра

Flying a simulated spacecraft controlled by a ZX Spectrum and Sinclair BASIC my first computer and programming language. Terribly inefficient right now because the serial port is so slow and the CPU spends lots of cycles bit banging to talk to it. There's a Python program in between which talks to KRPC and translates the important numbers to the serial port for the Spectrum to work from.

36 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля NSF - NASASpaceflight.com

    @NASASpaceflight

    10 PRINT "Rubber Keys." 20 GOTO 10

    55 отметок «Нравится»

  • Фото профиля Simon Jones

    @SimonJonesMusic

    This is absolutely brilliant. I'd love to know what Frankenstein horror you have constructed that gives the speccy a serial port

    17 отметок «Нравится»

  • Фото профиля Simon Jones

    @SimonJonesMusic

    I had completely forgotten about that and I'm amazed they still exist! Are you doing full handshaking or just winging it over tx and rx

    1 отметка «Нравится»

  • Фото профиля Scott Manley

    @DJSnM

    I’m just using the BASIC input/output streams.

    8 отметок «Нравится»

  • Фото профиля Backwoods Engineer - THE ORIGINAL

    @BackwoodsEnginr

    This is so cool, Scott! Definitely scratches the old-school computer itch. I came from that same generation, cutting my teeth on BASIC and 6502/Z80/6809 assembly languages.

    8 отметок «Нравится»

  • Фото профиля David Woods

    @Kusac_UK

    Next up: running a nuclear power station using Forth on a ZX80.

    7 отметок «Нравится»

  • Фото профиля bernielomax

    @bernielomax

    Why am I not surprised that ZX spectrum expects you to bitbang, even when using a peripheral port.

    4 отметки «Нравится»

  • Фото профиля SilentNoMore

    @Not_Silent_Now

    I still remember poking all the Z80 machine code on my ZX81 starting at address 16514, which was the first byte of RAM on the first line (usually a "REM" ). Zilog only stopped making the Z80 a couple years ago. I still own a ZX81 and a TS2068.

    3 отметки «Нравится»

  • Фото профиля ragegun

    @_ragegun

    Isn't a Spectrum some orders of mangnitude more CPU than the actual NASA program had to work with?

    3 отметки «Нравится»

  • Фото профиля Shivi Krishna

    @Shivi_Krishna

    ZX Spectrum was my first computer too. Sinclair Basic and a Panasonic tape recorder

    2 отметки «Нравится»

  • Фото профиля Orpington Cyclist

    @CycleOrpington

    10 PRINT "To me" 20 PRINT "To you" 30 GOTO 10

    2 отметки «Нравится»

  • Фото профиля DankSquid 🇿🇦🏴󠁧󠁢󠁳󠁣󠁴󠁿

    @andrewbarchart

    Time to write some Z80 assembly

    2 отметки «Нравится»

  • Фото профиля ℂ𝕒𝕣𝕝𝕠𝕤 𝕋𝕣𝕠𝕟𝕔𝕠𝕤𝕠 ℙ𝕙.

    @carlostph

    Sure it's a spectrum and not a ZX81? Those didn't have interrupts, and the screen refresh took a lot of cycles. The FAST command disabled the screen refresh. SLOW re-enabled it. On the Spectrum, the interrupt could be disabled poking on an address (manual needed).

    2 отметки «Нравится»

  • Фото профиля Matevz Dular

    @MatevzDular

    We should organize a LAN party!

    1 отметка «Нравится»

  • Фото профиля Alexander Malinin🐦‍⬛

    @Ert2501Gto

    @KYKYPY3A_B Примунение (KSP) с помощью ZX Spectrum

    1 отметка «Нравится»

  • Фото профиля Plankton, PhD

    @Plankton445140

    Sinclair BASIC is the language of my soul <3 still remember some of the keyboard shortcuts, like pressing the key A quickly followed by Enter for a nice surprise 🙃😆🤣. Or Print Usr 1303 if you want an annoying chirp to blast out of the speakers.

    1 отметка «Нравится»

  • Фото профиля Timothy Burling

    @timber1258

    Can tell you’re retired!

    1 отметка «Нравится»

  • Фото профиля Brink

    @_brinked

    pretty fun watching this stuff play out in real-time

    1 отметка «Нравится»

  • Фото профиля Lukica

    @1ookica

    cool

  • Фото профиля Marty Lockheed

    @LockheedMa18415

    Amazing feat, I wonder what's going on with the black bars in the border iirc the speccy didn't have fast mode