Best POKE Ever? For Commodore 64

  Рет қаралды 44,279

8-Bit Show And Tell

8-Bit Show And Tell

Күн бұрын

Пікірлер: 240
@The8BitGuy
@The8BitGuy 3 ай бұрын
Very neat. I've never seen this. Although you can accomplish more or less the same thing by turning reverse on and using space to plot what you want. Although one advantage this might have is that I bet you can color in the bottom right character without causing the screen to scroll. I bet this could work on the VIC-20 too.
@8_Bit
@8_Bit 3 ай бұрын
Yes, this will allow the bottom right corner to be plotted without scroll, and it's also much easier to make lines going up or down than using RVS mode.
@Okurka.
@Okurka. 3 ай бұрын
You can also switch on a computer using a paperclip but that doesn't mean it's the best way to do it.
@vhfgamer
@vhfgamer 3 ай бұрын
@@Okurka. Hey now, be nice.
@Okurka.
@Okurka. 3 ай бұрын
@@vhfgamer That was me being nice.
@saganandroid4175
@saganandroid4175 3 ай бұрын
@@8_Bit Related to "not scrolling the screen if you write to the last screen cell": What happens if you are in Program mode rather than Immediate mode -- can embedded cursor control keycode (up/down left/right) be used to paint the screen from within a program? Wondering if this can be used to defeat that godawful problem where printing to the rightmost column caused the computer to frig up the logical/physical line linkage. Makes sense in immediate mode, but is a total bug to leave that active in Program mode. How did they not catch that? surely the same issue was present in earlier C= machines? Whoever finds the right poke to disable that in Run mode gets a Nobel Prize.
@MexboroughBuildings
@MexboroughBuildings 3 ай бұрын
John Palmer worked for Ocean Software in Manchester in the late 80’s. I worked with him at Kuju Sheffield, lovely bloke.
@8_Bit
@8_Bit 3 ай бұрын
You're certain this is the same John Palmer? Pretty neat!
@MexboroughBuildings
@MexboroughBuildings 3 ай бұрын
@@8_Bit Yep it is. He and his brother Richard lived in Braunton Devon and submitted quite a few type ins to magazines. Then they both moved up to Manchester to work at Ocean.
@weedmanwestvancouverbc9266
@weedmanwestvancouverbc9266 3 ай бұрын
Robin, how ACCURATE is the Jiffy clock? Miss day and age internal clocks are usually controlled by a quartz crystal but I don't recall that there is one in the Commodore
@NuntiusLegis
@NuntiusLegis 3 ай бұрын
@@weedmanwestvancouverbc9266 If I see it correctly, the jiffy clock is generated by one of the timers in one of the CIA chips which is driven by the system frequency which is generated with a quartz. It is not very accurate though, I think I read because the quartz is not stabilized. Each of the two CIA chips also has a more accurate time-of-day clock driven by the powere line frequency.
@8bits59
@8bits59 3 ай бұрын
@@weedmanwestvancouverbc9266 It's as accurate as the 1.000213 MHz clock crystal used to generate the CPU clock, plus or minus a couple nanoseconds for the clock phase difference between the CPU and CIA. Important to note that the crystal isn't oven-controlled or anything, so it's gonna drift with temperature but it's about as rock-solid as you can get, really
@paulkoopmans4620
@paulkoopmans4620 3 ай бұрын
Robin.. Thank you so much!!! As a very young kid in the later 80's and early 90's and also not native English I started programming with basic and I kind of missed out on the whole assembly programming. It has been fascinating me the last years and I even bought original hardware again. And just thinking back a year ago vs now... I am actually able to fully grasp all of it. You have been a big influence for me with your excellent explanations and enthusiasm so that I now have understanding and dabble on my own with assembly on a real machine. Kind of like re-living childhood in a what-if I had someone like a dad or older brother that could take me along.
@8_Bit
@8_Bit 3 ай бұрын
Thanks, it's great to hear that you're having fun with it! There's still so much to explore on these systems we grew up with.
@saganandroid4175
@saganandroid4175 3 ай бұрын
Robin really is like the Carl Sagan / James Burke / David Suzuki / Tim Hunkin of Commodore Programming. The spirit of Butterfield flows within him.
@AntonSlavik
@AntonSlavik 3 ай бұрын
I can't wait to buy my own C64. I "inhereted" my uncle's, but my father threw it away not realising it's actual value. He just thought it was a gaming console. My life was dramatically changed by that shitty decision. Finding a C64 and watching this content is like taking back my life.
@Okurka.
@Okurka. 3 ай бұрын
You make it sound like you m*rdered your father and just got out of jail.
@andersjjensen
@andersjjensen 3 ай бұрын
Good luck. I owned one myself, so I'm plenty good with an emulator (WinVICE) for fooling around. Those poke works as intended on WinVICE's accurate C64 emulator (it has both an "accurate" and a "fast" emulator).
@zarroth
@zarroth 3 ай бұрын
Look up the c64 mini or maxi. Pretty sure they kept it true to function for these things. What's more, has USB ports, can connect to modern displays directly and other handy upgrades. The mini does not have a functional keyboard, it's more or less a game console, but you can attach an external keyboard to it. I'm waiting for them to release the Amiga maxi, then I'll pick up one of both.
@Okurka.
@Okurka. 3 ай бұрын
@@zarroth TheC64 Mini/Maxi run Vice 2.4; the latest Vice version is 3.8.
@masterofx32
@masterofx32 3 ай бұрын
This does not sound good, please seek help for mental health problems.
@chrisdixon5241
@chrisdixon5241 3 ай бұрын
Great video! As someone else already commented, I couldn't help thinking of the pipes screensaver when seeing you etch-a-sketching the screen :) I suppose that technically, POKE 788,84 could have the unintended consequence of changing the cursor colour to something unexpected, since you effectively just store whatever is in the accumulator at $0247 without loading the "correct value" to it first. The great thing about random pokes is you don't always see the side-effects, and those are the best kind of bugs to figure out ;)
@anon_y_mousse
@anon_y_mousse 3 ай бұрын
It's amazing how much we could accomplish with older computers that were far more limited in resources than what we have now. Yet I still spend roughly half of the time I'm on a computer these days waiting for things to load or source code to compile. I really miss those simpler days of computing.
@arlasoft
@arlasoft 3 ай бұрын
Very true, when my phone is lagging trying to display a couple of buttons despite having several Ghz of processing power, I wonder where we went wrong when a C64 can do the same at a smooth 50/60 FPS.
@ts-900
@ts-900 3 ай бұрын
Back in the day, I would have loved this. Can you send this to me back in the early 1980s?
@ASHdemoREEL
@ASHdemoREEL 29 күн бұрын
wow. this takes me back! THANK YOU for sharing that kindred nostalgic moment when one would find a special poke or special routine in RUN, ZZAP, AHOY! I would later save it for later use to experiment with. I personally would either write them down or clip them out of the very magazine & tape them into a notebook saved specifically for my c64 clippings :) These moments back in the day felt magical :) Thanks always for sharing your memories Robin! LOVE your videos
@sgerar37
@sgerar37 3 ай бұрын
My guess for the original "etch-a-sketch" poke targeting the BIT instruction rather than the optimal jump location is probably implementing a crude way of tracking which publications simply replicated the trick from those that truly rediscovered the trick by proper disassembly like you just did Robin. Loved this video!
@HelloKittyFanMan
@HelloKittyFanMan 3 ай бұрын
Funny little story about that SYS64759 we can see there, too: Shortly after buying our first computer, which was a C64 (my parents and us kids): My dad and I were looking up the different ways you can partially or near-fully reset the computer without flipping the switch all the time, and we saw in the manual that 59 was supposed to be the hard reset, but then it only looks like "restore." So we were like, "Huh... it doesn't fully reset." But the I saw programs that would do the nearly hard reset with -38. And then for 4 decades I hadn't seen 59 pop up again until now. But guess what: I just tried 64760 and that does a better-looking soft reset than 59 does: it retypes the "boot screen"! So it looks kind of like about half of what 38 does (where you know that 38 enlarges the borders and does whatever hard-reset stuff), but 60 is just a flash and done. I wonder why the manual (at least original) never mentioned 38 or 60. Oh, and by the way, did you know that the 128 equivalent of 38 is 65341? That seems to do nothing in 64 mode, but it's fun to play around with increments and decrements from those in both computers/modes too.
@NathanR_sfba
@NathanR_sfba 3 ай бұрын
Well you sent me down quite the rabbit hole with this comment. The C64 user's manual does indeed claim (on page 18) that SYS64759 is the command to perform a 'hard reset'. I remember trying that as a kid, and finding that it didn't actually work. It seemed to just have the same effect as a Run/Stop-Restore combo -- similar to something that might happen when trying to call bogus machine-language code. At the time I thought that the code was somehow 'broken', and/or the manual was mistaken. Looking into the code today, I think my original suspicion was correct. According to the Kernal ROM disassembly, address 64759 ($FCF7) is actually *in the middle* of an instruction! It's in the middle of a `JSR $FD50` instruction, which calls the RAM test routine. If you try to disassemble the ROM at $FDF7 (thus seeing the code the way the 6502 would try to execute it if you jumped there), you get a couple SBC's, an ISB (an 'undocumented' opcode), and finally a BRK. A BRK instruction invokes the interrupt handler, which, on the C64, ultimately responds to a BRK in the same way as a Run/Stop-Restore combo (which itself invokes an interrupt): It jumps to the BASIC warm-start vector. This is why bad ML code can cause a similar result as a Run/Stop-Restore: It trips over a BRK opcode, which so happens to be represented by the value $00. This is exactly the same reason SYS64795 produces a Run/Stop-Restore-like result: "Bad" ML code. Or rather, perfectly good ML code being misinterpreted as a BRK instruction. SYS64760 on the other hand, jumps to a perfectly valid instruction. In fact, it's right in the middle of the Kernal's reset code. It's the start of a block of instructions which restores the default IO vectors, initializes the VIC, and jumps to the BASIC cold-start vector. It's **the** reset code, but skipping several steps, including clearing the stack, checking for a cartridge, initializing the rest of the hardware, and checking the RAM. I'm probably not the first one to discover this, but it's interesting going back after all this years and actually investigating for myself what was going on "under the hood"
@NuntiusLegis
@NuntiusLegis 3 ай бұрын
Interesting. I have three manuals, one in English and two in German, and only the English one (probably the earliest of the three) states 64759 as the reset address, which is clearly a mistake. On any 65xx system, a hardware reset makes the CPU look at address 65532 for the reset vector, which on the C64 points to 64738. The number 64738 is very quick and easy to type, two fingers just need to start at 6 and 4 and than move outwards alternately. I always wondered if this address of the reset routine on the C64 was chosen because of that.
@Datan0de
@Datan0de 3 ай бұрын
This is great! I wish I'd known about this back in the '80s. Four numbers that will always be embedded in my memory are 53280, 53281, 49152, and 64738.
@KayoMichiels
@KayoMichiels 3 ай бұрын
So.... people were collecting POKEmons before it was cool?
@RandyFortier
@RandyFortier 3 ай бұрын
Gotta catch 'em all.
@magnustveten492
@magnustveten492 3 ай бұрын
No that’s when it WAS cool :)
@Tenraiden
@Tenraiden 2 ай бұрын
Man I would have really impressed my aunt and uncle if I knew this back when we had a C64! 😄
@Lion_McLionhead
@Lion_McLionhead 3 ай бұрын
Looking at a commodore poke command on a weekday summer afternoon feels like the summer 40 years ago that never ended.
@Okurka.
@Okurka. 3 ай бұрын
Summer?
@andersjjensen
@andersjjensen 3 ай бұрын
@@Okurka. Yes, it is summer in the Northern hemisphere. Unless you live in Svalbard. Then it's just he half of the winter where it doesn't get dark.
@Okurka.
@Okurka. 3 ай бұрын
@@andersjjensen Summer starts tomorrow.
@andersjjensen
@andersjjensen 3 ай бұрын
@@Okurka. According to your particular local calendar rules, perhaps. Where I live the 23rd is "midsummer night".
@andersjjensen
@andersjjensen 3 ай бұрын
I find it fascinating that this doesn't crash anything. At first I thought it was an easter egg from the original developers until you revealed that it was the interrupt vector being manipulated.
@mbvideoselection
@mbvideoselection 3 ай бұрын
I used to set 788-9 to 192,0 (49152 or $C000) and write a little routine to increment a counter which i would check for in my BASIC programs to tell it to go back to the home screen if Restore was pressed, especially useful for programs that i compiled using Laser Compiler. I remember in particular putting JMP $EA31 at the end.
@csbruce
@csbruce 3 ай бұрын
0:09 SYS 64738 is a great metaphor - someone should write a song about it! 11:11 Another bug is that the interrupt routine doesn't execute a CLD instruction, so the SBC instructions in the time comparison will erroneously operate in BCD mode if a user routine that uses Decimal mode is interrupted. 16:29 Address $EA51 would also be an innocuous NOP.
@arlesluna5001
@arlesluna5001 3 ай бұрын
There is actually a C64 tune called SYS 64738 kzbin.info/www/bejne/iZ3JaIygqL2cmq8si=YrbtzheWTqCJKESm
@Metal_Maxine
@Metal_Maxine 3 ай бұрын
22:20 A piece of trivia: World Cup Carnival was a rebadged version of an earlier (budget?) football game sold at full price as a licenced World Cup tie-in by US Gold. Apparently the developers contracted by US Gold (they didn't have in house developers making their output erratic quality-wise) for making World Cup Carnival failed to come up with the goods, so they bought the rights to this older and sub-par game. I just can't remember the name of the original game.
@TheMalMeninga
@TheMalMeninga 3 ай бұрын
It was Artic's "World Cup Football" :)
@Metal_Maxine
@Metal_Maxine 3 ай бұрын
@@TheMalMeninga Thanks. Seriously, they changed one word, which makes it even stupider.
@AndrewHillis_2024
@AndrewHillis_2024 3 ай бұрын
I HONESTLY HAVEN'T GOT A CLUE WHAT YOU ARE TALKING ABOUT HERE 8-BIT BUT I ENJOYED THIS VIDEO ANYWAY & IT APPEALED TO MY GEEKINESS/NERDINESS ! ! !
@andrewdunbar828
@andrewdunbar828 2 ай бұрын
I would've thought any of us who did assembly programming back in those days would get curious about interpreting multi-byte instructions starting at points other than the beginning. I sure did. Maybe because I never had an assembler and did all my machine code programming by poking instructions into RAM a byte at a time. Or maybe because I used to enjoy writing disassemblers in BASIC.
@Jdvc-yd5tx
@Jdvc-yd5tx Ай бұрын
A turn of events: Github is for fossils, and home-alone 8-bit computing is seeing quite the renaissance. 🎾
@videogamebookreviews
@videogamebookreviews 3 ай бұрын
"...has converted the Commodore 64 into an Etch-A-Sketch." My (overactive?) imagination: "...into a Tron Light Cycle!" 1:38
@8_Bit
@8_Bit 3 ай бұрын
Similar, though Light Cycles and Snake both keep moving once put into motion. And of course have collision detection etc. But they are born out of the same concept.
@supercompooper
@supercompooper 3 ай бұрын
I am so old I remember this. What an amazing world we live in.
@FrikinOSM
@FrikinOSM 2 ай бұрын
4:26 A long time ago (1989 ?) I was on a technical/electronic course and they had a Commodore PET. We had some downtime so I kept poking looking for the video memory address. I found it! and made a game where you drive up the screen and use the cursor buttons to steer, and the road gets thinner as time progresses. My first foray into game design with limited memory.
@DavidYoud
@DavidYoud 3 ай бұрын
I had once considered "JMP EA31" for a custom license plate (but I settled on "2 1337" instead)
@desertfish74
@desertfish74 3 ай бұрын
SYS64738
@csbruce
@csbruce 3 ай бұрын
2 1337 4U
@Okurka.
@Okurka. 3 ай бұрын
N00B was already taken.
@hueyiroquois3839
@hueyiroquois3839 3 ай бұрын
What do skeletal injuries have to do with this?
@GrowlyBear917
@GrowlyBear917 3 ай бұрын
My good friends and I celebrate our leetness every day at 1:37 pm, The time display on my watch is in 24-hour mode.
@marcobachini3130
@marcobachini3130 3 ай бұрын
Thanks for sharing this esoteric knowledge 👍🏻👍🏻
@anonymeister123
@anonymeister123 3 ай бұрын
One poke over the line, sweet Jesus, one poke over the line.
@stevebell4853
@stevebell4853 3 ай бұрын
One poke man!!! ONE POKE OVER THE LIYEEEEIIIIIIINE *furiously licks c64 case*
@CathrineMacNiel
@CathrineMacNiel 2 ай бұрын
@@stevebell4853 jesus!
@klocugh12
@klocugh12 3 ай бұрын
The most concise implementation of Paint of all time.
@bloepje
@bloepje 2 ай бұрын
I used to poke inc 51820 jmp irq somewhere low and then poke only the high byte of the IRQ vector. You have to take care that the inc /jmp starts at the right place, because you can not disable interrupts.
@winstonsmith478
@winstonsmith478 3 ай бұрын
Maybe someone "discovered" it in the same way you demonstrated how it works - via analysis of a disassembly of the kernel.
@8_Bit
@8_Bit 3 ай бұрын
If so, then I would have expected those magazine letters I showed to have said POKE 788,82 instead of POKE 788,80. As I showed in the video, the 80 isn't properly instruction-aligned while 82 is.
@andersjjensen
@andersjjensen 3 ай бұрын
Disassembling ROM code was a lot harder back then. The C64 has "become everything it was not" in the last decade and a half. Once it stopped being "outdated junk" and became "fond memories" a lot has happened.
@winstonsmith478
@winstonsmith478 3 ай бұрын
@@8_Bit Misremembered theft of 788,82 claim which came from somewhere? The odds of accidental discovery are nil. Commodore insider leak?
@NuntiusLegis
@NuntiusLegis 3 ай бұрын
@@andersjjensen I never considered it outdated or just for memories, but a welll thought-out machine that is interesting to use and program in any time.
@miff227
@miff227 3 ай бұрын
had a ZX Spectrum. POKE 23609, 0-255 would change the keyboard click (value 1) to silent (value 0) up to a 1 second beep (255). 30 was a good length
@newkillergenius
@newkillergenius 3 ай бұрын
I think it's cool how many people are connected to you now sir!
@cybernit3
@cybernit3 3 ай бұрын
Ah you forgot to tell us how to save our etch a sketch with that Poke 788,82 trick. I guess a little program to write the screen memory to a file.
@NuntiusLegis
@NuntiusLegis 3 ай бұрын
Plus the color RAM. :-)
@WinLoveCry
@WinLoveCry 2 ай бұрын
Very cool!
@pigs18
@pigs18 3 ай бұрын
A friend in high school studied sin waves so he could create a program to translate musical notes into poke commands in order to simulate real instruments.
@andersjjensen
@andersjjensen 3 ай бұрын
With an 8 bit computer he could basically have hand drawn sine waves on checkered paper and still be more accurate than the computer.
@NuntiusLegis
@NuntiusLegis 3 ай бұрын
@@andersjjensen No. And the comment is not about drawing sine waves.
@AndrewHillis_2024
@AndrewHillis_2024 3 ай бұрын
THANKS 8-BIT FOR ANOTHER GREAT VIDEO ! ! !
@spambot7110
@spambot7110 3 ай бұрын
alternative explanation: maybe they figured out 82 logically by looking at the disassembly, and then afterwards discovered that 80 also worked while experimenting with it. If so i'm guessing they chose to share that version because, functionally it's pointless but jumping to the middle of an instruction to change its meaning is a way cooler hack. or maybe they came at it from the other side, they were just exploring the general technique of finding instructions with second meanings when read misaligned, and in the process of searching for interesting misaligned jump targets in the kernel discovered this.
@CityXen
@CityXen 2 ай бұрын
Yeah! Collecting pokes. Not to be confused with collecting pokemons.
@dkovacs
@dkovacs 3 ай бұрын
That is literally the best poke ever Robin!
@jvidechi
@jvidechi 2 ай бұрын
Easter egg poke. I wish I had all thoses documentation back in 80'. All I had is rudimentary basic commands. No poke there, no assembly or low level programming.
@svenvandevelde1
@svenvandevelde1 3 ай бұрын
POKE 56576,199 disabled the system reset through run/stop and restore. So combining this with POKE 788, 52 lets you run a basic program without being able to stop it...
@AndrewHillis_2024
@AndrewHillis_2024 3 ай бұрын
I WISH COMMODORE, SINCLAIR RESEARCH & ACORN COMPUTERS WERE STILL AROUND & I MISS THOSE DAYS ! ! ! 😭😭😭😭😭😭😭
@koenlefever
@koenlefever 3 ай бұрын
Why not just enjoy the _8-bit renaissance_ that is currently going on: Commander X16, Agon Light, Cerberus 2100, Spectrum Next, Foenix F256, MiSTer, MSXVR, Neo6502, RC2014, and many others...
@NuntiusLegis
@NuntiusLegis 3 ай бұрын
@@koenlefever I just enjoy the C64 which is immortal (original hardware still works, emulators, replicas).
@koenlefever
@koenlefever 3 ай бұрын
@@NuntiusLegis Sure, I also still use my 1978 Sharp MZ-80K and my 1979 HP-85. Emulators and replicas of old machines are cool indeed, but I was specifically replying that there is no shortage of exciting new 8-bit machines. On top of that, FPGA machines like MiSTer, Spectrum Next and Mega 65 add a complete new class of hardware. My point being: it is a great time for retro-computing right now.
@NuntiusLegis
@NuntiusLegis 3 ай бұрын
@@koenlefever Scatters the community quite a bit though.
@koenlefever
@koenlefever 3 ай бұрын
@@NuntiusLegis I consider that to be a good thing. The industry at the time gathered around x86 and Microsoft, which made sense from an business point of view; but for the hobbyists that made the landscape a lot poorer. I prefer a diverse ecosystem where each machine has its own personality and quirks, and it is in that spirit that I replied to the comment by @andrewhillis9544 who misses Sinclair/Commodore/Acorn.
@emanuellandeholm5657
@emanuellandeholm5657 3 ай бұрын
I had no idea of this poke. I thought I knew them all by heart! My first try in VICE C64SC gave me an inverted P. The second time I reproduced what you did. I wonder what that was about... Hold up, 788 is $314, which is the IRQ vector. This usually holds $31 from $ea31. So changing it to 82 means we IRQ to $ea52 instead of $ea31. So we skip 31 bytes from the beginning of the IRQ code.
@AndrewHillis_2024
@AndrewHillis_2024 3 ай бұрын
HI ROBIN PLEASE DO A VIDEO ON WHAT MACHINE CODE INSTRUCTIONS DO TO THE HARDWARE OF THE COMPUTER AND HOW THE COMPUTER PROCESSES THOSE INSTRUCTIONS ! ! !
@soulthatcreates
@soulthatcreates 3 ай бұрын
Great Video! Thank you Robin!
@draketungsten74
@draketungsten74 3 ай бұрын
Heh, I made a etch-a-sketch program myself a long time ago.
@RonaldoGazel
@RonaldoGazel 3 ай бұрын
Really amazing poke!
@AndrewHillis_2024
@AndrewHillis_2024 3 ай бұрын
'POKE' & 'PEEK' COULD BE VIDEOGAME OR CARTOON CHARACTERS ? ? ?🤔🤔🤔
@HelloKittyFanMan
@HelloKittyFanMan 3 ай бұрын
And the default poke for 788 is 49, so use that if you want to restore programatically.
@andersjjensen
@andersjjensen 3 ай бұрын
PRINT PEEK(788) That is how you arrive at the default (or current) value (for anyone reading along wondering how).
@HelloKittyFanMan
@HelloKittyFanMan 3 ай бұрын
@@andersjjensen: I already knew that; that's how I found the default, of course.
@AndrewHillis_2024
@AndrewHillis_2024 3 ай бұрын
THIS LOOKS FUN ! ! !
@sacredbanana
@sacredbanana 3 ай бұрын
this video just shows you'd be great at poker
@kcinplatinumgaming2598
@kcinplatinumgaming2598 3 ай бұрын
yeh the easter egg on older commodores "wait6502,1" dont think it runs on C64 but PETs ect ok with it its the Bill Gates easter egg
@8_Bit
@8_Bit 3 ай бұрын
Yeah, that WAIT Microsoft easter egg was only in certain PETs. Once Commodore noticed it, they disabled it in later PET ROM revisions.
@rasowa2958
@rasowa2958 3 ай бұрын
I wonder if it works with all ROM versions. It's not safe to jump to undocumented ROM address, there may be different code there. Or maybe even this is an explanation why the original POKE was slightly different.
@AndrewHillis_2024
@AndrewHillis_2024 3 ай бұрын
APOLOGIES FOR MY CAPITAL LETTERS BUT I AM VISUALLY SIGHT IMPAIRED AND I AM NOT SHOUTING AT ANYONE ! ! !
@TheSecretWorldRules
@TheSecretWorldRules 3 ай бұрын
I miss these simpler times of early computing.
@Okurka.
@Okurka. 3 ай бұрын
Right, machine code was much simpler than the high-level programming language they now use. /s
@felippeboulderdash8453
@felippeboulderdash8453 10 күн бұрын
I like the song!!!
@helgew9008
@helgew9008 3 ай бұрын
Wasn't there a poke to make the key repeats lightning fast? Could it be combined with this one to make the drawing faster?
@8_Bit
@8_Bit 3 ай бұрын
Yes, POKE 56325,25 (or an even lower value) will make the system interrupt occur more frequently, and therefore speed up cursor movements. It seems to work fine together with POKE 788,82.
@sciexp
@sciexp 2 ай бұрын
Thanks, interesting... Could you use that poke to make an snake game?
@R.B.
@R.B. 3 ай бұрын
Seems like there's a better poke. If this is changing the IRQ vector, couldn't you just change the ISR to jump over the code which does the reset and therefore keep things like the clock working?
@Vector_Ze
@Vector_Ze 3 ай бұрын
Maybe I've missed it, but I'm wondering if you've ever compared and contrasted the original C64 with TheC64 "maxi". Are there functional differences? If I missed it, I'd appreciate being led in the direction to it.
@8_Bit
@8_Bit 3 ай бұрын
I made a few videos about TheC64, starting with one titled 'Exploring TheC64 "Maxi" Full-Size Commodore 64 Replica'. I'd link to it but KZbin usually censors anything with a link. I have a playlist with the other TheC64 videos, you should be able to find it by searching my channel page.
@gfdggdfgdgf
@gfdggdfgdgf 3 ай бұрын
Yeah we poked quite a bit back in the day
@MattKasdorf
@MattKasdorf 3 ай бұрын
Hmm, what's that poke for each of the Commodore PET ROMs?
@sajiky7935
@sajiky7935 3 ай бұрын
Commodore 64... The SECOND computer I ever owned.
@8_Bit
@8_Bit 3 ай бұрын
Same here. I had a Timex Sinclair 1000 (like a ZX81) first.
@dhmsimons
@dhmsimons 2 ай бұрын
there was this one poke that put the whole memory mapped on screen, every memory location was viewed as one bit. Sadly, i don't have a machine right now, and i can't remember what the poke was. Does anyone know?
@Mr.1.i
@Mr.1.i 2 ай бұрын
it even works on an emulation
@densomordnardatorn
@densomordnardatorn 3 ай бұрын
Kandinsky 2024? (Or perhaps Kandinsky 1985)
@AndrewHillis_2024
@AndrewHillis_2024 3 ай бұрын
I WAS ALWAYS GETTING TOLD OFF BY MY MATHS & COMPUTER TEACHER FOR CRASHING THE SCHOOLS TRS-80 MODEL 2 COMPUTERS WITH POKE 16389,255 ! ! !🤔🤔🤔
@HelloKittyFanMan
@HelloKittyFanMan 3 ай бұрын
Heh, these 788 things don't work in 128 mode. I figured they wouldn't but I always like to check 128 on these 64 things.
@AndyHewco
@AndyHewco 3 ай бұрын
Cool. You know I have to, Vic 20 version.... POKE788,214
@retro64_commodore
@retro64_commodore 3 ай бұрын
Looks like the pipes screensaver for Windows ;)
@tYNS
@tYNS 3 ай бұрын
Cool video!
@wim0104
@wim0104 3 ай бұрын
8 bit pipe screensaver in 1982!?
@blenderbuch
@blenderbuch 3 ай бұрын
Dang if I did know that in the days we did go to shops and used computers there....😂
@kewkabe
@kewkabe 3 ай бұрын
That would probably make the smallest assembly game ever. 9 bytes maybe? LDA #82, STA 788, (clearscreen however you do that), return.
@mickeythompson9537
@mickeythompson9537 3 ай бұрын
♫ I heard there was a secret poke... ♫
@tomerikgundersen8574
@tomerikgundersen8574 3 ай бұрын
The best poke ever is poke 65495,0 for the Dragon 32.
@CurtisBoyle
@CurtisBoyle 2 ай бұрын
That also works on the Coco 1 and 2. It doubles the speed of ROM access (hint: BASIC is in ROM), thus speeding your programs up quite noticably (30-50% on average). The Coco 3 equivalent (POKE 65497,0) speeds up both ROM and RAM by 2x (so the whole computer goes from it's default 0.895 MHz to 1.78 MHz).
@matty39
@matty39 3 ай бұрын
Cool poke! Is there an equivalent for the Vic 20?
@saganandroid4175
@saganandroid4175 3 ай бұрын
10:00 when we say "update the system clock" l trust we mean TI and TI$. I assume the CIA timers keep on counting regardless of what we do to the 788 vector. I also assume we could use the 24bit jiffy space in 0 page for whatever (assuming we avoid UDTIM) and instead measure elapsed time by directly reading the CIA registers? Valid or am l totally offbase?
@8_Bit
@8_Bit 3 ай бұрын
Yes, TI and TI$. The CIA timers are in an endless loop, counting down cycles from approximately 1,000,000 divided by 60 to zero over and over automatically, and firing the system IRQ each time zero is reached. The jiffy counter addresses would be free for re-use if they're not being updated by the system interrupt anymore, but of course TI and TI$ would return useless values. But no, besides the endless descending loop of ~16,666 to zero there's no elapsed time by default to read from the CIA. You could setup the TOD clock on either CIA as a decent substitute with some extra code.
@saganandroid4175
@saganandroid4175 3 ай бұрын
@@8_Bit 16,666? Isn't that like 4.6 minutes? I thought these were 24 hour clocks? And counting down? Does that mean the TI/TI$ is derived by the OS doing some kind of subtraction from some other (mystery) value to arrive at TI/TI$ aka elapsed time?
@8_Bit
@8_Bit 3 ай бұрын
@@saganandroid4175 The CIA is set to fire an IRQ every ~16,666 machine cycles. In that IRQ handler, the 24-bit jiffy counter is incremented. This is the value displayed when printing TI. When printing TI$ then some math is used to convert that to a 24 hour HHMMSS string.
@UltimatePerfection
@UltimatePerfection 2 ай бұрын
I think the following poke is very NICE. POKE 420,69
@Ed64
@Ed64 3 ай бұрын
@8_Bit are all Kernal revisions exactly the same for $EA31? Maybe that could explain the slightly different address?
@8_Bit
@8_Bit 3 ай бұрын
As far as I know all revisions are the same for this area from $EA31 to $EA60 or so.
@HelloKittyFanMan
@HelloKittyFanMan 3 ай бұрын
"The normal default..." As opposed to what "other kind" of default? 😆
@AndrewHelgeCox
@AndrewHelgeCox 3 ай бұрын
Have you reviewed the 8BitDo Retro Mechanical Keyboard - C64 Edition? I think they should send you one speculatively if they have any sense.
@malkogindrat
@malkogindrat 3 ай бұрын
Hey thanks for pointing to this product! I think it is awesome
@Markusewitz
@Markusewitz 3 ай бұрын
Very cool! 😊
@8_Bit
@8_Bit 3 ай бұрын
I haven't tried it yet. It looks nice but I'd be a lot more interested in it if it had the PETSCII characters and other special C64 keys on it and they mapped nicely to a C64 emulator.
@AndrewHelgeCox
@AndrewHelgeCox 3 ай бұрын
@@8_Bit Doh, of course. I didn't even check that 🤦.
@Okurka.
@Okurka. 3 ай бұрын
It doesn't even have the C64 layout.
@sillonbono3196
@sillonbono3196 3 ай бұрын
Amazing!
@xnetpc
@xnetpc 3 ай бұрын
Is there not a list of every poke and it’s function? It seems like. Commodore would have released a list like this or the user community would have compiled and documented this information.
@8_Bit
@8_Bit 3 ай бұрын
There are over 16 million (65536 * 256) possible POKEs and of those, at least thousands would have some distinct effect. I've seen some lists with perhaps a couple hundred POKEs, but nothing comprehensive, and I'm not aware of any with this particular "best poke" on it.
@intermissionscreen
@intermissionscreen 3 ай бұрын
My favourite poke is: POKE 2048,1.
@8_Bit
@8_Bit 3 ай бұрын
On the C64 that causes RUN and NEW to just print "syntax error" every time. Does it do anything else? Kinda fun.
@intermissionscreen
@intermissionscreen 3 ай бұрын
@@8_Bit with simple loaders you can prevent the autorun and then access the code or the entry point... then the fun begins...
@HelloKittyFanMan
@HelloKittyFanMan 3 ай бұрын
It would be interesting to know of any software that found a use for this 80-84, etc.
@NuntiusLegis
@NuntiusLegis 3 ай бұрын
It is interesting and funny, but not really useful. It is basically character graphics with only one character, not making use of the magnificent CBM graphical characters (PETSCII).
@leetucker9938
@leetucker9938 3 ай бұрын
I liked my c64
@1walkgirl
@1walkgirl 2 ай бұрын
poke 808,251
@AndrewHillis_2024
@AndrewHillis_2024 3 ай бұрын
AND IN YOUR NEXT VIDEO 8-BIT YOU WILL BE SHOWING US HOW TO TAKE OVER THE WORLD USING A SEVEN SEGMENT L.E.D. DISPLAY ! ! !😂😆😂😆😂😆😂😆🤔🤔🤔🤔🤔🤔🤔
@djrmarketing598
@djrmarketing598 3 ай бұрын
Gotta watch out, you might end up in the POKEy.
@CptJistuce
@CptJistuce 3 ай бұрын
How to turn your Commodore to an Atari in one easy step!
@AndrewHillis_2024
@AndrewHillis_2024 3 ай бұрын
BRING BACK THE C64, SPECTRUM, BBC MICRO, ARCHIMEDES & RISC-PC'S ! ! !
@ImaginationToForm
@ImaginationToForm 3 ай бұрын
Didn't Poke 0,0 reset the machine?
@8_Bit
@8_Bit 3 ай бұрын
POKE 0,0 on its own doesn't do anything noticeable. SYS 64738 will reset the machine.
@ImaginationToForm
@ImaginationToForm 3 ай бұрын
@@8_Bit Oh thanks. Could that been IBM PC then?
@FeliciaByNature
@FeliciaByNature 3 ай бұрын
Hi Robin
@8_Bit
@8_Bit 3 ай бұрын
Hi Felicia!
@LordmonkeyTRM
@LordmonkeyTRM 3 ай бұрын
Bye Felicia
@SilverBullet93GT
@SilverBullet93GT 2 ай бұрын
now do PEEK
@scottl.1568
@scottl.1568 3 ай бұрын
Whut
@RonHelton
@RonHelton 3 ай бұрын
👍👍👍👍👍👍👍👍👍👍
@AiOinc1
@AiOinc1 3 ай бұрын
No mention of killer poke?
@8_Bit
@8_Bit 3 ай бұрын
How would the killer poke be the best ever? :)
@desertfish74
@desertfish74 3 ай бұрын
@@8_Bitit has the most lasting effect 😂
@colinstu
@colinstu 3 ай бұрын
he's had other vids on that
@PeterRichardsandYoureNot
@PeterRichardsandYoureNot 3 ай бұрын
While I appreciate the enthusiasm of the Commodore 64 community, I just do not get the over zealous worship of a system that couldn’t tie the shoelaces on a raspberry pi 4 board. And this is coming from a guy who owned a times Sinclair as his first home pc, then Atari 400 xl, then ti-99 4/a with speech add on. Apple ][e, ][gs and a litany of pc’s. These machines were so under powered, lack meaningful storage systems til much later in their life cycle and then were lapped by 16 bit systems quickly. They were stepping stones. I guess I just don’t understand the worship of a mere tool used to move my own knowledge forward if that tool has become so obsolete it has no further usefulness.
@arlasoft
@arlasoft 3 ай бұрын
If you only see computers as tools, you're unlikely to understand why people still find coding and playing games on 8-bit machines fun. I wrote a couple of games for the Apollo Guidance Computer, just to see if I could, and it was infinitely more fun than any project in Unity or in my day job. The fun comes from precisely what the machines can't do, and trying to create something cool despite the limitations by making the most what they can do.
@GRAHAMAUS
@GRAHAMAUS 3 ай бұрын
I guess the point is that the whole machine can be understood in its entirety, making it fun to tinker with. A modern computer with a modern OS is so huge and complex, no single person can understand every part of its hardware and software. The C64 opened my eyes to assembly language, which enabled me to progress my career in electronics into embedded systems (waaay back in the 80s!) which proved to be very useful indeed, to me.
@Okurka.
@Okurka. 3 ай бұрын
You probably also don't get why people own and drive vintage cars.
@NuntiusLegis
@NuntiusLegis 3 ай бұрын
The C64 is superior to modern computers in many respects. No boot time, starts right into a full blown programming language, that language has a direct mode, the C64 has an entire command screen instead of a measly command line, comes with a manual that teaches you programming, is completely silent without fan noises, has great graphical characters that are also printed on the kleyboard, has a programmable synthesizer and not just a samples player, C64 programs run everywhere because there are emulators for all platforms, everyone has all the time in the world to learn the system because it didn't change since 1982 and will never change, can use a green monitor and magnetic tape without which a computer can't be taken seriously, can run Choplifter, Boulder Dash, and Space Taxi.
@NuntiusLegis
@NuntiusLegis 3 ай бұрын
I said in many respects, not in any respect. And some points I mentioned don't work in emulation. EDIT: This and my following three posts reply to posts by Okurka he seems to have deleted.
@martinkuliza
@martinkuliza 2 ай бұрын
After i started up my C-64 when i was young i always used to start with POKE 53280,0 POKE 53281,0 i didn't like the blue screen, i preferred black everywhere then it was usually something LOAD "LA NINJA" [Return] PRESS PLAY ON TAPE and later LOAD "LA NINJA",8,1
@hayrettinyildiz8018
@hayrettinyildiz8018 3 ай бұрын
POKE 53281,0
38911 Bytes Free? Commodore 64's BASIC RAM
29:57
8-Bit Show And Tell
Рет қаралды 39 М.
How Does Epyx Fastload Make Loading Faster on a Commodore 64?
29:16
Commodore History
Рет қаралды 34 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 54 МЛН
Apple Lisa 2: Inside & Out
30:38
8-Bit Show And Tell
Рет қаралды 70 М.
Games That Push The Limits of the Commodore 64 in Surprising Ways
20:11
The c64 maxi - 10 things of interest
20:13
YaggieBoat
Рет қаралды 13 М.
Commodore 64: Opening The Borders (Type-In From Zzap!64 Magazine)
28:13
8-Bit Show And Tell
Рет қаралды 32 М.
10x Faster Than C64 BASIC? Hare Basic
48:01
8-Bit Show And Tell
Рет қаралды 33 М.
This Commodore 1541 hides a terrible secret.
8:54
retrobits
Рет қаралды 116 М.
Soft-Patching C64 ROMs for Benchmark BASIC: 6510 Assembly Code Walkthrough
53:27
C64 - Hiding machine language in a REM statement
10:07
Retro Old Guy
Рет қаралды 16 М.
Using a Commodore 64 on the modern internet!
21:08
Veronica Explains
Рет қаралды 707 М.
What is the Smallest Possible .EXE?
17:04
Inkbox
Рет қаралды 396 М.