8-Bit Show And Tell
8-Bit Show And Tell
  • 199
  • 7 249 761
10x Faster Than C64 BASIC? Hare Basic
Hare Basic is a fast, limited instruction set, integer-only basic interpreter (not a compiler) for Commodore 64 and VIC 20, created by Aleksi Eeben and released for free download in May 2024. There's an excellent handbook included, and the distribution disk includes many excellent example programs. I had a lot of fun developing a little game prototype with Hare Basic and found that it was surprisingly fast and easy to use. Join me as I show you what I've learned about the language, as we walk through the code of some of the included example programs, and the small game I wrote with it.
Downloads here:
csdb.dk/release/?id=242880
bit.ly/harebasic
bit.ly/harebasichandbook
8bitshowandtell.com/downloads/descending.d64
To support 8-Bit Show And Tell:
Become a patron: patreon.com/8BitShowAndTell
One-time donation: paypal.me/8BitShowAndTell
2nd channel: czcams.com/channels/AgWzEh5c8391eJnELDy9OA.html
Index:
0:00 Playing Descending Doom game prototype
3:20 Hare Basic - a faster BASIC
8:07 BALLOONS demo
15:16 FILLSPEED demo
19:16 RASTER demo
21:31 TIPS: various code snippets
24:28 Descending Doom walkthrough:setup
29:37 Move spaceship
34:31 Move/detect bullet/fire
37:00 Descend the Doom
41:56 Title Screen / Game Won / Lost
43:46 Some final thoughts & info
46:05 Thanks to my patrons!
zhlédnutí: 29 294

Video

This Game Cheats? Hal Labs' LeMans for Commodore 64 (Part 3)
zhlédnutí 12KPřed měsícem
Finally we dig into the disassembled code of LeMans, with a focus on the time-keeping and scoring routines that are directly tied to this game's very flexible definition of a second. Can we conclusively show that this game cheats? Along the way we find a really neat trick for detecting multiples of 20,000 points, and other conventional and unconventional approaches to C64 game development. LeMa...
SuperCPU "Sky Travel" Easter Egg Hunt for Commodore 64
zhlédnutí 16KPřed měsícem
We take another look at the Commodore 64 astronomy program Sky Travel, this time with the assistance of the 20 MHz CMD SuperCPU Accelerator. We examine the reasons for the 2 hour discrepancy between Sky Travel's depiction of the eclipse, and reality. It involves time zones and Daylight Saving Time. Other tangential topics include: JiffyDOS disk speed-up, 1541 disk drive "head knocking" copy pro...
Viewing the 2024 Solar Eclipse with Commodore 64's 1984 Sky Travel
zhlédnutí 20KPřed 2 měsíci
A Commodore 64 can be used to view the 2024 Total Solar Eclipse with the help of some software from 1984 called "Sky Travel: A Window To Our Galaxy". We take a quick look at the original boxed program, complete with floppy disk, manual, and diskette replacement card! Then with the help of a 1541 disk drive and some vigorous head knocks, we get the software booted, configured (with some advice f...
Penultimate+2 2024 Refresh: More Games, Prog. Aid, wAx, Waterloo BASIC for VIC-20
zhlédnutí 9KPřed 2 měsíci
The Penultimate 2 cartridge for the Commodore VIC-20 has been refreshed for 2024. It's got even more games and programming tools packed in, so let's take another look. Highlights include the Programmer's Aid utility, the wAx2 assembler, and Waterloo Structured BASIC. Official Penultimate 2 Page: www.tfw8b.com/product/vic20-penultimate-plus-two/ My previous PU 2 videos: Mostly about the games: c...
Making a C64 Cartridge Dump RUNable, Fixing a 42-Year-Old Typo? LeMans (Part 2)
zhlédnutí 16KPřed 2 měsíci
Now that we've got a binary dump of the Lemans game cartridge (see previous video linked below) how do we make it able to simply LOAD and RUN without a bunch of messing around in the machine language monitor? And as a bonus: we fix a 42-year-old typo in the game! Part 1: Dumping LeMans cartridge: czcams.com/video/YV9WN-dTNgk/video.html Part 2: Making the binary RUNnable: This video! Part 3: Thi...
What's a Leap Year? Calculating on Commodore 64
zhlédnutí 12KPřed 3 měsíci
2024 is a leap year, and February 29th is Leap Day! Can we calculate leap years on a Commodore 64 in BASIC and 6502 Assembly Language? Of course we can. We also learn about why we have leap years, Julian and Gregorian calendars, question if it's Simon's or Simons' BASIC, figure out binary long division, notice some strange coincidences, and see Robin's ancestors in some 1962 movie footage that ...
First Stealth Video Game: Lost & Found. Manbiki Shounen / Shoplifting Boy for Commodore PET, 1979
zhlédnutí 14KPřed 3 měsíci
Way back in 1979 in Japan, Hiroshi Suzuki programmed a game for the Commodore PET that many consider the first-ever Stealth game: Manbiki Shounen aka Shoplifting Boy. Predating Castle Wolfenstein, it's a game in which a young shoplifter attempts to clear a supermarket of all items on the shelves without being caught. While this game has been ported to other platforms and those versions survive,...
Dumping (And Playing) LeMans Ultimax Cartridge on the Commodore 64 (Part 1)
zhlédnutí 21KPřed 4 měsíci
1982's LeMans racing game for the Commodore 64 is one of my all-time favourite cartridges, though it has a quirk that's always puzzled me. I'd like to disassemble the code for the game to figure out what's really going on, but my Super Snapshot machine language monitor isn't compatible with cartridge games. So I'd like to dump the cartridge ROM to a disk file, but that's especially tricky with ...
43-Year-Old INPUT Bug Fixed: From C64 to VIC-20
zhlédnutí 16KPřed 4 měsíci
43-Year-Old INPUT Bug Fixed: From C64 to VIC-20
Adding Command Line-esque Parameters to C64 and C128 Programs
zhlédnutí 16KPřed 5 měsíci
Adding Command Line-esque Parameters to C64 and C128 Programs
Atari 2600(+) Games for Christmas 1983/2023: Chosen by my Kids
zhlédnutí 11KPřed 5 měsíci
Atari 2600( ) Games for Christmas 1983/2023: Chosen by my Kids
This Function Destroys Programs: MS-BASIC's VAL()
zhlédnutí 45KPřed 5 měsíci
This Function Destroys Programs: MS-BASIC's VAL()
38911 Bytes Free? Commodore 64's BASIC RAM
zhlédnutí 36KPřed 5 měsíci
38911 Bytes Free? Commodore 64's BASIC RAM
LOAD"*",9 : Beyond Device 8 on Commodore 64
zhlédnutí 21KPřed 6 měsíci
LOAD"*",9 : Beyond Device 8 on Commodore 64
Microsoft BASIC-80 In Secret? VTech's PreBASIC
zhlédnutí 23KPřed 6 měsíci
Microsoft BASIC-80 In Secret? VTech's PreBASIC
What's Wrong With Load"*",8,1 or LOAD"*",1 on C64
zhlédnutí 34KPřed 6 měsíci
What's Wrong With Load"*",8,1 or LOAD"*",1 on C64
VTech PreComputer 1000: BASIC, Typing, Quiz Games - Just a Toy?
zhlédnutí 11KPřed 6 měsíci
VTech PreComputer 1000: BASIC, Typing, Quiz Games - Just a Toy?
ZX Spectrum for USA: Timex Sinclair 2068 / BASIC Type-In
zhlédnutí 14KPřed 7 měsíci
ZX Spectrum for USA: Timex Sinclair 2068 / BASIC Type-In
A PETSCII Message from "Hooked On A Feeling" Blue Swede Singer Björn Skifs Decoded on Commodore 64
zhlédnutí 13KPřed 7 měsíci
A PETSCII Message from "Hooked On A Feeling" Blue Swede Singer Björn Skifs Decoded on Commodore 64
8-Bit Era Electronic Arts Logo Easter Egg Hunt 1983-1992: Commodore 64, Amiga, and more
zhlédnutí 9KPřed 7 měsíci
8-Bit Era Electronic Arts Logo Easter Egg Hunt 1983-1992: Commodore 64, Amiga, and more
The Commodore 64 Assembler With A Deliberate Bug: Zeus64
zhlédnutí 18KPřed 8 měsíci
The Commodore 64 Assembler With A Deliberate Bug: Zeus64
99.8% Compatible? The C64 Mode of the Commodore 128
zhlédnutí 28KPřed 8 měsíci
99.8% Compatible? The C64 Mode of the Commodore 128
Jim Butterfield's 1986 Computer Diary - Commodore Reference Diary
zhlédnutí 17KPřed 9 měsíci
Jim Butterfield's 1986 Computer Diary - Commodore Reference Diary
Fastest C64 10 PRINT (one-line) With New Benchmark BASIC?
zhlédnutí 29KPřed 9 měsíci
Fastest C64 10 PRINT (one-line) With New Benchmark BASIC?
VIC-20 Penultimate+2: Programming, Games, Utilities, RAM Expansion and More
zhlédnutí 18KPřed 9 měsíci
VIC-20 Penultimate 2: Programming, Games, Utilities, RAM Expansion and More
Best Ever VIC-20 Cart? Penultimate+2
zhlédnutí 29KPřed 10 měsíci
Best Ever VIC-20 Cart? Penultimate 2
Cracking a C64 Game From Cassette: Livingstone, I Presume?
zhlédnutí 44KPřed 11 měsíci
Cracking a C64 Game From Cassette: Livingstone, I Presume?
"Hello World" on Commodore 64 in Assembly Language, Machine Code
zhlédnutí 48KPřed 11 měsíci
"Hello World" on Commodore 64 in Assembly Language, Machine Code
One Bad Byte Broke This Game: Commodore 64's "Livingstone, I Presume?"
zhlédnutí 108KPřed rokem
One Bad Byte Broke This Game: Commodore 64's "Livingstone, I Presume?"

Komentáře

  • @jdryyz
    @jdryyz Před 5 hodinami

    The feet and legs was the only one I discovered unintentionally.

  • @AOAYUNARIA
    @AOAYUNARIA Před 22 hodinami

    I'd like to see a Squid Game played-out using these games...lol

  • @JohnSmith-lf8kg
    @JohnSmith-lf8kg Před dnem

    That's a nice joystick. Did you build it? If so, any build guide for one?

  • @it5190
    @it5190 Před dnem

    What’s the prize for the smallest number of lines?

  • @platimatic
    @platimatic Před 2 dny

    Re: 14:40 It would be quite interesting to see what kind of videos you would come up with on MSX BASIC (which I guess is more comparable to BASIC on the C128).

  • @GarryGri
    @GarryGri Před 3 dny

    Don't think this is necessarily worth getting if you already have the Penultimate+ and an SD card reader. Or maybe even the origonal Penultimate. But apart from that It's pretty much a must IMO.

  • @CanberraUser
    @CanberraUser Před 3 dny

    This video is very educational! It answers a lot of questions about C64 BASIC and RAM usage. Plus you throw in a new SYS command at the beginning I never knew before. Thank you!

  • @align2source
    @align2source Před 4 dny

    💚

  • @mjs28s
    @mjs28s Před 5 dny

    autoduel! I love that game!

  • @speedbird737
    @speedbird737 Před 5 dny

    The lunar lander ship looked better on the VIC20 than on the C64! @ 17:35. The C64 version to me looked like B.O.B. from the movie Black Hole lol all damaged

  • @speedbird737
    @speedbird737 Před 5 dny

    Pacman was rewritten recently by someone and its almost like the original arcade version!

  • @adam1984pl
    @adam1984pl Před 5 dny

    It would be nice to see a Pac-man game written in this Basic.

  • @user-pf1sf3vb1c
    @user-pf1sf3vb1c Před 6 dny

    I remember that glitch on the Commodore 64.

  • @AC-cb1oe
    @AC-cb1oe Před 6 dny

    i am going to need to play this. my personal opinion is that they should not have put tutorial in the beginning. i prefer when games like this are total blind

  • @DAVIDGREGORYKERR
    @DAVIDGREGORYKERR Před 6 dny

    Why didn't they have a way to enter programs as Braille.

  • @sanctanox
    @sanctanox Před 6 dny

    This programming style would have driven my computer science teacher MAD back in the 80s at school. He would call this "spaghetti code". We even weren't allowed to use Basic but had to use Turbo Pascal instead. It is still fun to watch but comes from a time when only ONE person in the world had to understand the code and - be honest - couldn't change a thing after a while because the code is simply unreadable. But a part of me still loves it.

  • @penfold7800
    @penfold7800 Před 7 dny

    A really amazing piece of software. I have a Windows 95 piece of software called Orbits3.0 which does the same sort of thing with a bit more graphics thrown in. Theres a section that will give you a list of things to view between whatever dates you choose. It includes phases, eclipses and planetary alignments and gives you details of where to point your telescope depending on your viewing place on the planet. I wish someone put it into a handheld device.

  • @penfold7800
    @penfold7800 Před 7 dny

    Nice to see that BASIC, and it's concept, isn't dead. I thought from the name, that you had actually found something useful from the Haresoft company of back in the day. Glad I didn't miss out on it then.

  • @AllGamingStarred
    @AllGamingStarred Před 7 dny

    the bouncing ball program just causes the ball to draw to the left and repeat, did I enter something wrong? I typed everything correct

  • @sayedguessima428
    @sayedguessima428 Před 7 dny

    Hi, this is the inventor of this trick writing. I opend up the boarder above and below the screen (not the sideboarders, that was someone else) in the beginning of the year 1983. To my knowledge i was the first person who ever did this. I wrote a machine language program to put this routine into the interrupt of the C64 to open up the screen permanently and having the cursor free for your own programs. My initial publishing was in the German Computer Magazine 'Happy Computer' Issue 11/85 (Nov 1985!) two years _before_ Zzap shamelessly published it without giving credits. If you have that special issue of Happy Computer magazine, openup page 72 to see my listing and also find my real name. The original title of this program is 'Longscreen 64' and is one of 4 listings i published in that magazine back in the day. I just today stumbled on your video, nice reminescent to my youth, but also kind of salty memories. I had a questionable career in the so called 'scene', i am listed in the csdb, but to be honest, i am not proud of it. Some years back i sold all of my gaming hardware, all what i have left is a Retro Emulation Handheld which is perfect for me. Its the GPD Win 4 with the 7840u processor in it and it can recreate all the consoles of my childhood and youth. Thats all whats left after buying the C64 back in the fall of 1982. Sometimes i which i have never bought it since it had i huge impact into my life, but i was young and i was stupid. I didnt know what life can bring besides the computers and the electronic gaming. Today its sad to see that children run around using the 1000 times more powerful smartphones without any hesitation or doubts in the companies that are behind those. But thats another topic. Ok, i stop here, nice video, thanks, and check out said magazine, there you will find the original listing of the original inventor! Bye! (MH 3/jun/24)

  • @user-uq2ks2dr4p
    @user-uq2ks2dr4p Před 8 dny

    That does not look like a C64. Its really nice what is it? Great game btw. I am builidng my own 6502 computer with 16k ram and maybe a oled display. This will all be done in cc65 assembly.

    • @8_Bit
      @8_Bit Před 8 dny

      It’s a Commodore 128D, the final 8-bit Commodore released.

    • @user-uq2ks2dr4p
      @user-uq2ks2dr4p Před 8 dny

      @@8_Bit Its lovely much nicer on the eyes than the c64 was, and it has a nice keyboard too. for my game which will be called* Rogue Sausage* I will be using a i2c monocrom oled. if I dont use that I will need to workout how to make my i2c 2x16 LCD work

  • @PSL1969
    @PSL1969 Před 9 dny

    Great tip!

  • @stephenwhite506
    @stephenwhite506 Před 9 dny

    It would be interesting to see where Hare Basic fits into Noel's Retro Lab's bench marking spreadsheet. Search for his video "Is this the FASTEST and CHEAPEST 8-Bit Computer Ever?" and see the link in the video description "BASIC benchmarck page". The simple basic code is in the "BASIC benchmark" tab. 10 FOR i=1 TO 10 20 s=0 30 FOR j=1 TO 1000 40 s=s+j 50 NEXT j 60 PRINT "."; 70 NEXT i 80 PRINT s CBM basic does it in 40 seconds. VIC20 in 37 seconds.

  • @mjs28s
    @mjs28s Před 11 dny

    Love making games on it in basic then using the C-128s basic compiler. Not pure machine language speed, but for most games it worked out pretty great! Of course the sprites were also the shiz for games.

  • @lovemadeinjapan
    @lovemadeinjapan Před 11 dny

    I found out the PowerCartridge solves the LOAD mess. It just allows DRUN/DLOAD "Name" and you can use wildcards. Also you get DIR that is non destructive, unlike LOAD"$",8 and LIST

    • @8_Bit
      @8_Bit Před 11 dny

      Yes, almost all utility cartridges (Epyx Fast Load, Super Snapshot, Action Replay, etc.) provide a non-destructive disk directory command, and often change the default device from 1 (cassette) to 8 (disk) which removes most of the reason for adding comma 8 after a load command. File wildcards already work fine on disk, it's cassette where they aren't supported, and Power Cartridge doesn't change that as far as I'm aware.

  • @DarkMoe
    @DarkMoe Před 11 dny

    I saw that Basil Fawlty reference. Also, Betsy Ross was known to me because she appears in Day of the Tentacle, in a very famous puzzle that involves changing the US flag design to be used as a disguise 400 years in the future

  • @fokkenhotz
    @fokkenhotz Před 12 dny

    hi I'm a 53 year old widow but I had one of these as a kid and at school. I used "Bankstreet Writer" and wrote in a different but cooperative code everytime without compiling so like ,, how what was I doing ? and how did I used to colorize the 1st my instructor had seen of color font + could make intergeres flow random non consecutive and now did I used to bust my own 16bit password so I could get my homework out? = my goal. knowing 36 ways to wipe a corrupted drives reinstall win 7- 10. + I had to learn how to undo the hood ; move the cmos pin over to reset; and hold the power button down with the battery out and pc plugged in to drain the condenser to remove a malicious power on password somehow remotely installed and took johns bitcoins. it doesn't matter because u can't do your own private in California but I'd like to not be hacked , can I use c64 for sercurity?

  • @mike_pena
    @mike_pena Před 12 dny

    Two years later, I'm still a lamer!

  • @frankmeyer9984
    @frankmeyer9984 Před 12 dny

    You forgot the first Laptop, Epson HX-20 Portable Computer (released 1981, price I don't remember at the moment). Officially it could have been upgraded to 32kB RAM; but I own two special computers that were modified for the German Army, with 64kB RAM installed! But only 32kB usable at the same time, you needed to switch the memory banks with a special list of steps 😊

  • @cairsahrstjoseph996
    @cairsahrstjoseph996 Před 12 dny

    Not sure how it would slow things down, but with a little adjustment to the character set, you might design some mean looking little faces for the lowest or leading block of each column, and they look meaner as they get closer. Also instead of "Game Over" I would suggest "Thou Art Doomed" or something in keeping with the theme.

  • @hai.1820
    @hai.1820 Před 12 dny

    Is that chuck norries in BL II ? 😂

  • @misterdressler9345
    @misterdressler9345 Před 13 dny

    Exept you're 40 years late

    • @8_Bit
      @8_Bit Před 13 dny

      Late for what?

  • @keiichicom7891
    @keiichicom7891 Před 14 dny

    I have been using chatgpt as a coding assistant for a long time now and what I found it is the same thing, it not only does stuff wrong it sometimes claims bugs are fixed but they are not. You end up having to fix all the bugs in it defeating the purpose.

  • @TheXJ12
    @TheXJ12 Před 14 dny

    12:35 "R is the base register" but I don't see any use of it. Even more, I removed both occurrences of it (on Vice emulator) and the "Balloons" program seems to work just the same !

    • @8_Bit
      @8_Bit Před 14 dny

      Looks like you're right; that must have been leftover code from when this example was being developed and I didn't notice it wasn't being used. Good catch!

  • @BubblesSmurf-vk9uj
    @BubblesSmurf-vk9uj Před 14 dny

    I still own my Commodore 64 64c,128d, and 128. 1581 3.5inch disk drives, 1571,1541 5.25", all programs since 1979. The 1200 baud modem, printers etc. Never found support since 1990

  • @pjcnet
    @pjcnet Před 15 dny

    I'm amazed it's that fast from an interpreter, I expected it to compile the code first. He should make a compiler too, although not sure if it could be that much faster. If only this was around back in the day.

  • @brianwild4640
    @brianwild4640 Před 15 dny

    Hey Robin I realise you are not going to fix the entire code but you changed score variable then the next chapter you did not and said it was ok because you ran that chapter but the score variable was after an if then statement lol. Love the videos great work

  • @darkobelisk4076
    @darkobelisk4076 Před 15 dny

    I find the official user guide/manual and the reference guide are guilty of the same thing. Using this "dumbed down" language that isn't helpful because I'd rather it tell me the proper term along with an explanation, then suddenly it launches into unexplained code. It's definitely helpful going through it though but I need other books to actually make any sense of it.

  • @Huppat
    @Huppat Před 16 dny

    you're using a compiler. This is not really programming in assembler

    • @8_Bit
      @8_Bit Před 16 dny

      I don't use any compilers in this video. There are four versions of "hello world" in this video, written in: interpreted BASIC, Turbo Macro Pro assembler, SuperMon 64 machine language monitor, and written in machine code bytes with a BASIC loader.

  • @ralphm786
    @ralphm786 Před 16 dny

    Awesome series of videos, Robin! I love Le Mans as it's the only racing game I know of that uses the paddles, which I think are sadly underutilised. If you ever feel like coding another game for the C64, please consider Sega's Turbo with paddle support. John Champeau of Champ Games did an amazing version for the Atari 2600 & I would love to see this on the C64. Cheers

  • @dh2032
    @dh2032 Před 16 dny

    the 16K, was the address able memory space, ram rom, and else a addressable, rateable or not, even to, pc, mac, the maximum addressable memory, upper top limit, of address able space even on memory installed,

  • @cooltaylor1015
    @cooltaylor1015 Před 16 dny

    I'd love to play a game like that on Atari 2600. Maybe something based on Centipede. But with no centipedes. Just more and more mushrooms, descending upon you.

  • @Hounddoggy33
    @Hounddoggy33 Před 16 dny

    This game was so fun, Robin! I almost beat it on my first try :) Wish we had this in Compute's Gazette back in the day!