Search found 7 matches

by skaratso
Mon Mar 25, 2024 4:40 pm
Forum: Programming
Topic: Are there integer numbers in the basic of x16 please?
Replies: 21
Views: 4428

Re: Are there integer numbers in the basic of x16 please?

Floats take 5 bytes per element. Is this a proprietary floating point representation, or is the 5th byte reserved for some kind of meta data? At least according to the birth date of the IEEE 754 standard I assume that it must be proprietary in some kind, but 5 byte must have a requirement. Can some...
by skaratso
Fri Feb 02, 2024 4:56 pm
Forum: Programming
Topic: Translate Peeks and Pokes from c64 BASIC Program?
Replies: 25
Views: 5074

Re: Translate Peeks and Pokes from c64 BASIC Program?

I'm not very familiar with Commodore-type computers, having grown up with Apple II machines, but just like with Apples, I'm sure there are lists of common PEEKs and POKEs for the Commodore 64 you can find online. Some will be very straightforward to replace, such as the POKE commands to change text ...
by skaratso
Fri Jan 12, 2024 9:51 pm
Forum: Introductions
Topic: Hello from Defiance, Ohio
Replies: 0
Views: 40746

Hello from Defiance, Ohio

Hello everyone! I'm Stavros, a retrocomputing enthusiast from Defiance, Ohio. I just received my Commander X16 this week and I'm excited to try it out and learn how to program for it. I am very active in the Apple II world. I grew up with Apple II computers so I'm a lot more familiar with those than...
by skaratso
Fri Jan 12, 2024 9:42 pm
Forum: X16 Feature Requests
Topic: Standard interface for extending Basic
Replies: 9
Views: 86978

Re: Standard interface for extending Basic

Ok, so the command parsing itself is done the same way, essentially, with the same routines that BASIC uses. But user commands get their own entries as two byte tokens but are essentially first-class commands. That does raise the question of how the end user will distinguish between "native&quo...
by skaratso
Fri Jan 12, 2024 6:02 pm
Forum: X16 Feature Requests
Topic: Standard interface for extending Basic
Replies: 9
Views: 86978

Re: Standard interface for extending Basic

Ok, so what you're proposing is more or less a "standard" way for "escape character" commands to be passed to the code that's interpreting them. If we say, follow Apple's convention and use the & as the escape character, then when the interpreter sees "& FOO" it...
by skaratso
Mon Jan 08, 2024 4:50 am
Forum: X16 Feature Requests
Topic: Standard interface for extending Basic
Replies: 9
Views: 86978

Re: Standard interface for extending Basic

I'm not super familiar with Commodore 64 or Commander X16 BASICs, as I grew up using Apple II machines, but I just received notice that my X16 will be shipping very soon. But, given the similarities between Applesoft and Commodore BASIC, is the CHRGET routine still at $B1 on the zero page? In Apples...
by skaratso
Mon Jan 08, 2024 1:55 am
Forum: X16 Feature Requests
Topic: Standard interface for extending Basic
Replies: 9
Views: 86978

Re: Standard interface for extending Basic

What you're proposing here sounds very similar to the "&" (ampersand) command in Applesoft BASIC on Apple II computers. What & did was an immediate jump to $3F5, called the ampersand vector. The difference is that people writing extended commands would do their own command parsing ...