Commodore 64 REM Statement Bugs and Riddles | Commodore Basic 2.0

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024
  • This is a very interesting bug in commodore basic that can be used in several ways. In one case this bug causes the listing of a basic code to fail but
    in another case, you can create some magical riddles using a REM Statement.
    ✔ Code that causes the listing of a basic code to fail
    1 rem {shift}L
    ❅ List of some poke commands that effect listing of bacic code:
    poke 775,167 - Enable List Command
    poke 775,168 - Disable List Command
    poke 775,200 - Disable List Command
    poke 775,171 - Causes Computer to Crash If a LIST Command is Attempted
    poke 22,35 - Hide Line Numbers
    poke 774,0 - With List Command, Shows Only Line Numbers
    poke 774,141 - With List Command, Vanishes Completely (Default Value 774,26)
    poke 774,64 - List protection (also works on C128)
    poke 774,255 - List protection
    ❅ Commodore 64 BASIC tokens: sta.c64.org/cbm...
    ❤ Commodore 64 REM Statement Magic...Riddles (Bread Box Commodore Computer Museum)
    • Commodore 64 (& THEC64...
    ☕ If You like this video you can buy me a coffee: ko-fi.com/josi... ☕
    CHECK OUT MY OTHER COMMODORE/ACORN VIDEOS:
    🕹️ Commodore 64 Programming: • Commodore 64 Programming
    🕹️ Commodore 64 Hardware Videos: • Commodore 64
    🕹️ Commodore 64 Plus/4 Videos: • Commodore Plus/4
    🕹️ Acorn Electron Videos: • Acorn Electron
    🕹️ Commodore 64 Games: • Retro Games and Demos

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

  • @NotaWizard
    @NotaWizard 2 года назад +4

    Very cool.
    I'm still amazed that there are still new things to learn 40 years later. :)

    • @JosipRetroBits
      @JosipRetroBits  2 года назад +1

      Thank You Spiro! Yes, me to. Every day I have a plan to make some really creative video and every day something new and weird, something like this, appears in my scope...and I simply cannot resist :)

  • @pamelax64
    @pamelax64 Год назад +1

    oh damn,how it's far from my memory those poke command to disable list command :)
    decades ago it were no such informations,can't remember where i've discovered them.
    nice channel greets

    • @JosipRetroBits
      @JosipRetroBits  Год назад

      Thank You :) Yes, there are a lot of information about c64 today and new coming every so often :)

  • @GrowlyBear917
    @GrowlyBear917 23 дня назад

    There are routines in ROM that move the contents of memory up, or down in the address space. They are used when you add a BASIC line in the middle of a program so that each subsequent line is moved to a higher address, and then everything is re-linked. Can you make a video showing how to use the ROM routines to move data around to any destination you want? Some programs I've seen move screen memory 40 bytes up, so that the text on the screen scrolls downward on the CRT instead of upward. God bless, and have a fun time with the computer!

  • @almurray2000
    @almurray2000 2 года назад +2

    Another very good talk

    • @JosipRetroBits
      @JosipRetroBits  2 года назад +2

      Thank You very much! I'm trying to do it right but sometimes it does not looks as good as the initial idea in my head :)

  • @marcusneervoort1277
    @marcusneervoort1277 Год назад +1

    This is not a Bug it is a feature... this was shown in th 64´er Magazin ~1985 to protect your Basic Programs from Listing... 🤣

    • @marcusneervoort1277
      @marcusneervoort1277 Год назад +1

      I mean "protect" 🤣

    • @JosipRetroBits
      @JosipRetroBits  Год назад

      @@marcusneervoort1277 Lots of these kinds of "features" has been discovered a long time ago, but I always hope to find something new :)