@living8bit · @living8bit
312 followers · 2069 posts · Server mastodon.social

Small win tonight. I figured out how to implement "hot-keys" on the . For example, while developing , hit F1 and see the directory, or save the file, whatever.

Turned out my first approach was close, I just didn't SCNKEY before I GETIN'd. Also turns out, you need to "peek" the keyboard buffer. I tried to "put a GETIN'd key back on and it didn't work so great. :)

#c64 #BASICv2

Last updated 2 years ago

@living8bit · @living8bit
263 followers · 1539 posts · Server mastodon.social

Cheesy holiday wish, but only 'cause I was desperate to get something out here after this past week. I'm working on something else, but there's no way I'll get it done by tonight...

#c64 #BASICv2 #retro

Last updated 2 years ago

@living8bit · @living8bit
312 followers · 2069 posts · Server mastodon.social

Cheesy holiday wish, but only 'cause I was desperate to get something out here after this past week. I'm working on something else, but there's no way I'll get it done by tonight...

#c64 #BASICv2 #retro

Last updated 2 years ago

@living8bit · @living8bit
263 followers · 1537 posts · Server mastodon.social

After coding in with '$A', you find several errors in where it should be 'A$'. 😅

#perl #BASICv2

Last updated 2 years ago

@living8bit · @living8bit
312 followers · 2069 posts · Server mastodon.social

After coding in with '$A', you find several errors in where it should be 'A$'. 😅

#perl #BASICv2

Last updated 2 years ago

@living8bit · @living8bit
312 followers · 2069 posts · Server mastodon.social

Just did a small test and revisited this beautiful alternative to:

XXget a$:ifa$<>""goto XX

#c64 #BASICv2

Last updated 2 years ago

@living8bit · @living8bit
312 followers · 2069 posts · Server mastodon.social

See!! Another gem!

#c64 #BASICv2

Last updated 2 years ago

@living8bit for those who don't have an Ultimate64 but a NIC64+ or RRnet: there's "Kipper BASIC" to support your ethernet Hardware

lyonlabs.org/commodore/kb-bob/

#BASICv2 #KipperBASIC #commodore64 #ethernet

Last updated 2 years ago

@living8bit · @living8bit
312 followers · 2069 posts · Server mastodon.social

Well, I got it working. A routine library for working with the TCP/IP stack. Here you see a BASICv2 program getting the default Apache page from a Debian 11 system. Full disclosure, what you're watching is actually from a 'netcat' of the data. Apache was not tolerant of the BASIC's speed so the whole page wouldn't get received. 'ncat' *was* more tolerant. The pic is a snippet of the code. Next up, a #6510 ASM library.

#BASICv2 #ultimate64

Last updated 2 years ago

@living8bit · @living8bit
312 followers · 2069 posts · Server mastodon.social

So close. Took my 1 liners for Dec2Hex and Hex2Dec and attempting to make a 1 disk block version. I'm on 2 blocks. I think I need to think over my algs.

Prg which prints the starting address of a file in Dec and Hex: 245 bytes

New Dec2Hex-Hex2Dec prg: 286

#c64 #BASICv2

Last updated 2 years ago

@living8bit · @living8bit
312 followers · 2069 posts · Server mastodon.social

So I found a program I wrote YEARS ago which converted Dec2Hex and Hex2Dec. It was 3 blocks on disk.

Before I go to bed, I "chill" with my C64, and had previously written a 2-liner Dec2Hex routine. Last night, I figured I'd go for a 1-2 liner Hex2Dec routine, and...yep, 1 line (minus the INPUT).

Sometimes it's fun to do these little tasks to see how far you've come. It helps fight that "imposter syndrome".

#c64 #BASICv2

Last updated 2 years ago