Search found 4 matches

by ghedger42
Tue Dec 04, 2018 3:04 am
Forum: General Discussions
Topic: Prince of Persia
Replies: 33
Views: 7764

Re: Prince of Persia

The problem with starting at a high level, e.g., BASIC or one of the other "hand-holding" interpreted languages is too much is automatic, making the mechanics of what is happening opaque. That's fine if your goal is to crank out a working program as quickly as possible without dealing with too many ...
by ghedger42
Thu Nov 29, 2018 8:07 pm
Forum: Programming
Topic: Unsigned 16 x 16 division with the M65C02A
Replies: 2
Views: 2725

Re: Unsigned 16 x 16 division with the M65C02A

Nice work! Implementing something like this is non-trivial. You have my respect. Liddicoat and Flynn would be proud.

I don't recognize all of the opcodes as 65C02, like "swp a" and "dup a". The 65816 had an XBA, which swapped the byte order of the accumulator. Where is the 65C02A documentation
by ghedger42
Wed Nov 28, 2018 12:30 am
Forum: Newbies
Topic: Struggling with "Hello World"
Replies: 26
Views: 11877

Re: Struggling with "Hello World"

FWIW there's AppleWin (Windows) and LinApple. We've recently done quite a bit of work on LinApple (there's plenty more to do). Since the Apple IIe had a built in monitor and disassembler, and the enhanced Apple IIe had a built in assembler, it's an excellent way to learn 6502 without a need for ...
by ghedger42
Tue Nov 27, 2018 7:51 pm
Forum: Newbies
Topic: Branching - how does it work?
Replies: 14
Views: 5064

Re: Branching - how does it work?

Make _variable a volatile, to force the compiler to read it each time and prevent optimizing the infinite loop.