Search found 7 matches
- Sat Sep 24, 2022 10:48 pm
- Forum:
- Topic: BASIC 2? Why not get BASIC 7?
- Replies: 175
- Views: 80174
BASIC 2? Why not get BASIC 7?
I started learning Commodore BASIC in 1980 (on the PET), and got 6502 programming docs the moment I could lay my hands on them. Remembering back to those days, I now have the idea of developing a transpiler (or whatever you want to call it) which: * Looks and runs like CBASIC, or, should I say, how...
- Wed Dec 01, 2021 9:20 pm
- Forum:
- Topic: Does this seem eggregious to anyone besides me?
- Replies: 44
- Views: 9294
Does this seem eggregious to anyone besides me?
My algorithm was more general-purpose, not assuming any particular length of the dividend.
The reason it works is because the series (1/16) + (1/16)^2 + (1/16)^3 + ... approaches 1/15, and then it's only a matter of dividing by 4 to get the final result.
- Sat Nov 27, 2021 2:07 am
- Forum:
- Topic: Does this seem eggregious to anyone besides me?
- Replies: 44
- Views: 9294
Does this seem eggregious to anyone besides me?
<blockquote class="ipsQuote" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-contentcommentid="16040" data-ipsquote-contentid="2015" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1637962919" data-ipsquote-userid="2904" data-ips...
- Fri Nov 26, 2021 9:41 pm
- Forum:
- Topic: Does this seem eggregious to anyone besides me?
- Replies: 44
- Views: 9294
Does this seem eggregious to anyone besides me?
One way to divide any integer by 60, using only integer math: 1. Shift right by six bits. Save off this value. 2. Shift right by another four bits. Add this to the variable holding the saved-off value. 3. If you still have anything left in the shift variable, return to step 2. 4. The variable with ...
- Fri Nov 26, 2021 9:18 pm
- Forum:
- Topic: 6809 instead of the 6502
- Replies: 51
- Views: 18705
6809 instead of the 6502
I understand the reasons why few would attempt this. The 6809 seems to have been a victim of bad timing. I've coded for both the 6502 (including a word processor for my C64) and the 6809 (several attempted games for Dad's CoCo), and the latter simply had that much more potential.
- Wed Oct 27, 2021 7:03 pm
- Forum:
- Topic: 6809 instead of the 6502
- Replies: 51
- Views: 18705
6809 instead of the 6502
Aside from having to rewrite the entire ROM, and perhaps having to add an adapter to accommodate any pin-out/power requirement variation between the two CPUs, what's stopping an ambitious experimenter from replacing the 6502 with a 6809?
- Wed Oct 27, 2021 6:50 pm
- Forum: CX16 General Chat
- Topic: Howdy from Houston
- Replies: 1
- Views: 736
Howdy from Houston
I wrote my very first computer program on a Commodore Pet in January of 1980. I was in ninth grade on my lunch break, and went over, making me late for civics class. Briefly migrated into TRS-80 Color Computer land during high school, but got my Commodore 64 from a Sears in San Antonio in 1984. Mig...