Search found 75 matches

by aeb
Sun May 19, 2024 3:16 pm
Forum: Programming
Topic: Hare Basic - Fast integer BASIC for VIC 20 and C-64
Replies: 12
Views: 533

Re: Hare Basic - Fast integer BASIC for VIC 20 and C-64

Ah, there was a human error in the documentation, $B000-$BFFF is indeed free for any use. I corrected the memory chart in the handbook (page 21) - https://bit.ly/harebasichandbook GO15 is intended exactly for this purpose. SYS may be a few cycles faster (or not). The difference is: - GO15 provides l...
by aeb
Fri May 17, 2024 6:35 pm
Forum: Programming
Topic: Hare Basic - Fast integer BASIC for VIC 20 and C-64
Replies: 12
Views: 533

Re: Hare Basic - Fast integer BASIC for VIC 20 and C-64

Sounds like a plan :D Very detailed. A ten year plan, indeed! Some benchmarks: So here's my plan: 1. Take Bunny combine it with a command interpreter I wrote for an incomplete Forth I work on now and again. This would allow the Basic to have a 256 character input limit per line giving a total of 2.5...
by aeb
Fri May 17, 2024 6:17 pm
Forum: Programming
Topic: Hare Basic - Fast integer BASIC for VIC 20 and C-64
Replies: 12
Views: 533

Re: Hare Basic - Fast integer BASIC for VIC 20 and C-64

Haha! Neat, good old char 81 kicking it :D I experimented with Bagdad game style 12x12 pixel 'semi' soft sprites that can be stamped anywhere at 4 pix accuracy, but didn't include this in the Hare Basic release, because this would be much more handy if written in machine code as a Hare user extensio...
by aeb
Fri May 17, 2024 6:09 am
Forum: Programming
Topic: Hare Basic - Fast integer BASIC for VIC 20 and C-64
Replies: 12
Views: 533

Re: Hare Basic - Fast integer BASIC for VIC 20 and C-64

Interesting article! Hare Basic does quite well in those it can do, but it can't do all, since it's a rabbit: Benchmark 1: FOR NEXT 0,13 Benchmark 2: IF THEN 1,07 (without optimizations) 0,83 (with optimization: using I+ instead of I=I+1) 0,55 (with extra optimization: max value in variable: E=1000,...
by aeb
Thu May 16, 2024 9:58 am
Forum: Programming
Topic: Hare Basic - Fast integer BASIC for VIC 20 and C-64
Replies: 12
Views: 533

Re: Hare Basic - Fast integer BASIC for VIC 20 and C-64

Some benchmarks: Task: Fill screen memory 15 times CBM BASIC: 3191 Hare Basic FOR loop: 303 (10.5X faster) Hare Basic GO system calls (GO3 block fill): 14 (228X faster) Task: Generate 1000 random numbers (0-65534) CBM BASIC: 958 Hare Basic: 17 (56X faster) Task: 1000 multiplications, 1000 divisions,...
by aeb
Wed May 15, 2024 7:10 am
Forum: Announcement Board
Topic: VIC-20 Software Releases of 2024
Replies: 4
Views: 11579

Re: VIC-20 Software Releases of 2024

Name: Hare Basic Author: Aleksi Eeben Genre: Programming, BASIC interpreter Code: Assembler Requirements: VIC 20 + 32/35k vicraster.png Description: Hare Basic is a fast, limited instruction set, integer-only basic interpreter for VIC 20 and C-64. Hare Basic syntax is very similar to CBM BASIC, but...
by aeb
Wed May 15, 2024 6:55 am
Forum: Programming
Topic: Hare Basic - Fast integer BASIC for VIC 20 and C-64
Replies: 12
Views: 533

Hare Basic - Fast integer BASIC for VIC 20 and C-64

What if BASIC was fast? To celebrate the BASIC (Beginners' All Purpose Symbolic Instruction Code) turning 60 years old, I'm releasing a big update to my old Bunny Basic from 2019, now called Hare Basic. Hare Basic is a fast, limited instruction set, integer-only basic interpreter (not a compiler) fo...
by aeb
Sun Apr 07, 2024 2:42 pm
Forum: Programming
Topic: Double buffering screen bitmap
Replies: 22
Views: 8719

Re: Double buffering screen bitmap

Clearing an entire bitmap is slow... In "Back in the Good Old Days" demo from 2004 I allocated chars dynamically (like a ring buffer) when drawing and eor-filling the frame. Char 0 was used for empty screen, so I only needed to clear ~200-256 bytes to wipe a screen buffer. Dynamic char all...
by aeb
Sat Feb 03, 2024 11:44 am
Forum: Emulation and Cross Development
Topic: Multipaint VIC 20 support
Replies: 13
Views: 3977

Re: Multipaint VIC 20 support

Perhaps an incomplete, multicolor-only MG mode would be still easy to add - and very useful for VIC 20 people... Multipaint saves also to some native formats, so it could have an option to save MG picture file. You could then do some hires edits/additions in Minipaint on VIC Having mixed hires&m...
by aeb
Thu Feb 01, 2024 3:54 am
Forum: Emulation and Cross Development
Topic: Multipaint VIC 20 support
Replies: 13
Views: 3977

Re: Multipaint VIC 20 support

Good points there Mike, and I fully agree about the limitations and the OS friendliness issues. Please send Dr. Terrorz a spec of MG format and an executable viewer (email at bottom of page http://multipaint.kameli.net)! You can tell him I totally recommend adding MG support as well :) (and there's ...
by aeb
Thu May 25, 2023 4:55 pm
Forum: Programming
Topic: Standalone VICMON for 6kB machines
Replies: 6
Views: 836

Re: Standalone VICMON for 6kB machines

There's also my Ass Assembler from 2021, a 2-pass symbolic assembler that compiles from disk to disk: http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?p=112995#p112995 Full release at the dropbox link also includes my old C'mon monitor (from early 2000's) - for various memory configurat...
by aeb
Wed May 24, 2023 12:46 pm
Forum: General Topics
Topic: Jeff's VIC 20 Book
Replies: 268
Views: 34893

Re: Jeff's VIC 20 Book

Great work! One thing I noted: Page 117: Block-Read and Block-Write commands. B-R and B-W are said to be buggy and they should be always replaced by U1 and U2 respectively. However, I don't know what kind of bugs they have and if that only concerns C-64 and not VIC 20. Maybe someone else can clarify...
by aeb
Wed May 03, 2023 3:20 pm
Forum: Programming
Topic: 10-Bit Oscillator Frequency Resolution
Replies: 24
Views: 20101

Re: 10-Bit Oscillator Frequency Resolution

Here: 10-bit-ofr.zip (All my 8-bit stuff old and new is in my shed nowadays: https://bit.ly/eightbitshed ) Aleksi Hi all! Does anyone have the zip file in the original post, the link doesn't work and I have failed googling it up. As the code was embedded in one of the posts I typed it in in Vic moni...
by aeb
Wed Apr 26, 2023 6:37 am
Forum: Games
Topic: New Game: VICSTRIP
Replies: 15
Views: 5715

Re: New Game: VICSTRIP

Great port, even the good old file rename trick works! 8)
by aeb
Tue Feb 28, 2023 9:16 pm
Forum: Programming
Topic: VicSAM without SID
Replies: 31
Views: 6303

Re: VicSAM without SID

Very nice port! Great work!