Search found 1184 matches

by chysn
Sun Dec 31, 2023 10:36 pm
Forum: Programming
Topic: HAPPY NEW YEAR 2024
Replies: 14
Views: 2948

Re: HAPPY NEW YEAR 2024

Hey, got it going! After dragging the D64 into VICE, it just restarts the VIC. There's a second step required (at least, there was for me), which was to LOAD "HNY2024",8 and to RUN that. My clue was Mike mentioning MINIGRAFIK, which needs to be installed first. I didn't know what MG meant ...
by chysn
Sun Dec 31, 2023 6:25 pm
Forum: Programming
Topic: My Favorite Instruction of 2023
Replies: 7
Views: 2735

My Favorite Instruction of 2023

In my 6502 projects this year, I made liberal use of an instruction that I've heretofore ignored: ldy TABLE_IX ldx Data,y It's the absolute,Y mode of LDX! Something might seem weird about loading an index register with an indexed table member. But I started out doing something like this ldy TABLE_IX...
by chysn
Sun Dec 31, 2023 4:04 pm
Forum: Programming
Topic: Filename Character Filter
Replies: 5
Views: 2330

Re: Filename Character Filter

Gotcha. Well, I switched the code over to an allowlist, which makes things easier when writing the manual. I'm using your list, Mike, except I'm not including < and > (for whatever reasons Windows has. I don't have any Windows machines around to test with), nor the forward slash. Not that you allow ...
by chysn
Sun Dec 31, 2023 3:12 pm
Forum: Programming
Topic: Filename Character Filter
Replies: 5
Views: 2330

Re: Filename Character Filter

All right, thanks! Looks like the best strategy is to plow through a disallowed character table for each keypress. Since I'm shooting for interoperability with other systems, I'm also disallowing < and > (apparently forbidden by Windows, maybe as redirection operators?). I'm disallowing / but not sp...
by chysn
Sun Dec 31, 2023 11:41 am
Forum: Programming
Topic: HAPPY NEW YEAR 2024
Replies: 14
Views: 2948

Re: HAPPY NEW YEAR 2024

Happy new year! I didn't have any luck dragging the D64 into VICE. What memory and machine settings should be used?
by chysn
Sun Dec 31, 2023 11:08 am
Forum: Programming
Topic: Filename Character Filter
Replies: 5
Views: 2330

Filename Character Filter

If I'm building a filename input box that validates filenames in real time, what characters do I absolutely not want to allow, to maintain compatibility with both original 154x drives, SD2IEC, and VICE file systems? I've found that filenames with * don't get written in VICE, so that's an obvious BEQ...
by chysn
Sat Dec 30, 2023 3:36 pm
Forum: Programming
Topic: New Keywords
Replies: 8
Views: 2450

Re: New Keywords

Soloman wrote: Sat Dec 30, 2023 10:26 am You can download this book for free. Great book.
Yep, thanks, most of these are on archive.org. Welcome to Denial!
by chysn
Sat Dec 30, 2023 7:16 am
Forum: Programming
Topic: New Keywords
Replies: 8
Views: 2450

Re: New Keywords

You might find the disassembly of the Super Expander useful to learn about this subject Yes! That's so cool, that's exactly the kind of thing I was looking for. You can however define such "extended" keywords in another way, by providing the suffix as token\ I have planned to do this, som...
by chysn
Fri Dec 29, 2023 7:45 pm
Forum: Programming
Topic: New Keywords
Replies: 8
Views: 2450

Re: New Keywords

Progress so far... The $0304 (tokenize) vector goes to $1800, and $0306 (detokenize) vector goes to $1815. I'm basically just redefining PRINT as Z here. At this point, you can imagine how everything else is just details; creating a new command table and testing against it on both ends, handling quo...
by chysn
Fri Dec 29, 2023 6:21 pm
Forum: Programming
Topic: New Keywords
Replies: 8
Views: 2450

Re: New Keywords

I was remembering Second Book of 64, which I used to own. I’m having a close look at this article.

And, oooh! I call the ROM routine FIRST! A slight change of order:
Screen Shot 2023-12-29 at 8.01.20 PM.png
by chysn
Fri Dec 29, 2023 4:55 pm
Forum: Programming
Topic: New Keywords
Replies: 8
Views: 2450

New Keywords

I'm on the lookout for resources about BASIC extensions, specifically of the type that add new BASIC commands. As I see it, I need to intercept three vectors, to (1) Tokenize the new keywords while parsing a BASIC input line (vector @ $0304) (2) Detokenize the new keywords during LIST ($0306) (3) Ex...
by chysn
Fri Dec 29, 2023 9:50 am
Forum: Programming
Topic: Memory Copy Code optimization. Help needed!
Replies: 3
Views: 2010

Re: Memory Copy Code optimization. Help needed!

It would be kind of the same, but you'd use three pairs of zero page pointers, like this (assuming the pairs are consecutive):

Code: Select all

sta (zp),y
sta (zp+2),y
sta (zp+4),y
It it worth it? Not for me to say, but I can't imagine ever doing it.

Also, don't overlook self-modifying code.
by chysn
Thu Dec 28, 2023 3:38 pm
Forum: Programming
Topic: Christmas greetings
Replies: 11
Views: 2966

Re: Christmas greetings

Soloman wrote: Thu Dec 28, 2023 12:44 pm
MrSterlingBS wrote: Sun Dec 24, 2023 1:26 pm Santa.zip
I runned it on the VICE-VIC20, but I only see @-characters en syntax errors.
You might be running it on an unexpanded machine. Try adding all the expansions in VICE and drag it over again...
by chysn
Mon Dec 25, 2023 11:33 am
Forum: Programming
Topic: Christmas greetings
Replies: 11
Views: 2966

Re: Christmas greetings

Thanks, that's great! Merry Christmas to you, too.
by chysn
Sat Dec 23, 2023 5:56 pm
Forum: General Topics
Topic: Ed for Prophet 5
Replies: 20
Views: 9898

Re: Ed for Prophet 5

IMG_6855.jpeg