Author |
Message |
Forum: General Discussions Topic: Improving the 6502, some ideas |
barrym95838 |
Posted: Tue Aug 06, 2013 6:29 am
|
|
Replies: 185 Views: 96618
|
... story of my life). My question to the group: Could I be on to something here, or am I barking up the wrong tree? Proposed instruction set for the 65m32, by barrym95838. I started with my understanding of Garth's proposal, and took it as far as I could, short of writing an actual simulator. I borrowed ... |
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
barrym95838 |
Posted: Wed Aug 07, 2013 5:47 am
|
|
Replies: 185 Views: 96618
|
... that a long jump is jmp (,n+) and a long call is jsr (,n+) In fact, I have already translated over 100 machine instructions from 6502 FigForth to 65m32 FigForth, and so far all except one are 32-bits long! Here's a brief hand-assembled list file excerpt ... the binary translations are NOT correct, ... |
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
barrym95838 |
Posted: Wed Aug 07, 2013 6:20 pm
|
|
Replies: 185 Views: 96618
|
BigEd:
Message received, understood, and respected! I will go back and edit all of my posts ... my core will be 65m32.
Mike |
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
barrym95838 |
Posted: Thu Aug 08, 2013 7:06 am
|
|
Replies: 185 Views: 96618
|
... it takes to do it on the 6502. It will be fun to see that shortened to just a few instructions. Okay Garth, I translated your 2?do and 2do to 65m32. It looks like the 65c02 needs 52 instructions in 88 bytes to do it. The 65m32 needs ... [drum roll] ... 10 instructions in 10 words to do what ... |
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
GARTHWILSON |
Posted: Thu Aug 08, 2013 7:57 am
|
|
Replies: 185 Views: 96618
|
... 65c02 when constantly having to deal with the wider numbers. The names won't need the "2" as in "2do" to get 32 bits with the 65m32 though, as it's naturally 32-bit anyway. 2+loop, the internal compiled by 2+LOOP, has 59 instructions by my count. It would be fun to see what ... |
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
barrym95838 |
Posted: Fri Aug 09, 2013 2:46 pm
|
|
Replies: 185 Views: 96618
|
... that I look at my original post, the more that I can understand what you mean about "complete and orderly". I'm already an experienced 65m32 coder, so it was easy for me to go off half-cocked in my excitement. I'll try to rearrange and complete it for upload later (but soon). Let me ... |
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
BigEd |
Posted: Fri Aug 09, 2013 4:28 pm
|
|
Replies: 185 Views: 96618
|
... I was able to cook up an online simulation of 65Org16 and 65org32 by modifying the easy6502 emulator: it just might be worth doing the same for 65m32. Cheers Ed ps. see http://biged.github.io/6502js/ online and the source at https://github.com/BigEd/6502js |
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
barrym95838 |
Posted: Fri Aug 09, 2013 5:27 pm
|
|
Replies: 185 Views: 96618
|
... operand structure) is therefore deeply imbedded in my brain, and difficult to express clearly to potential audiences. I thought that my 6502-to-65m32 instruction translation teasers and code fragment teasers might generate some interest, and encourage me to finally get the full picture out of ... |
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
BigEd |
Posted: Sat Aug 10, 2013 7:34 am
|
|
Replies: 185 Views: 96618
|
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
barrym95838 |
Posted: Sat Aug 10, 2013 3:27 pm
|
|
Replies: 185 Views: 96618
|
BigEd wrote: I'd be happy to see you start a new 65m32 thread.
I trust your experience and judgment. Where does it fit. Here, there, at anycpu.org ... ?!?
Mike |
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
barrym95838 |
Posted: Sun Aug 11, 2013 4:38 am
|
|
Replies: 185 Views: 96618
|
... limit, and end address :5e060000 jmp (,y+) ; from rstack and proceed. This isn't really a fair fight, but it looks like 18 words of code on my 65m32 are doing the same job as about 231 bytes of code on the 65c02. The reason that it's not fair is because the 65c02 is not in its native 8-bit ... |
|
|
Forum: Programming Topic: PEA: Is it is, or is it ain't? |
barrym95838 |
Posted: Tue Aug 20, 2013 5:17 am
|
|
Replies: 27 Views: 2347
|
[snip] ... If the previous is true, perhaps PEA $1234 should really be written PEA #$1234. :? :? :? This is how my 65m32 handles operands that are to be used at "face-value", regardless of the value's intended future use. I originally wanted to call the equivalent to the ... |
|
|
Forum: Programming Topic: VTL02 (VTL-2 for the 6502) |
barrym95838 |
Posted: Thu Aug 22, 2013 3:33 am
|
|
Replies: 122 Views: 36816
|
... to constantly remind myself to apply some of that focus to the myriad unfinished projects and ideas that I've accumulated over the years ... the 65m32 documentation and simulator are currently at the top of my to-do list, but I can feel it starting to slip from my grasp, despite the interest ... |
|
|
Forum: Programming Topic: ANN: HXA v0.200 |
barrym95838 |
Posted: Mon Aug 26, 2013 5:15 pm
|
|
Replies: 27 Views: 1799
|
I've never used awk before, but it doesn't look impossible for me to understand (rather c-like, which I have used). Your source excites me into thinking that I might be able to write a template for my 65m32. But, first things first ... SPECS, SPECS, SPECS!!!
Thanks,
Mike |
|
|
Forum: General Discussions Topic: Improving the 6502, some ideas |
barrym95838 |
Posted: Sun Sep 01, 2013 7:47 pm
|
|
Replies: 185 Views: 96618
|
... important bit-twiddling instructions, but I simply LOVE its compactness, and I enjoy writing code for it almost as much as I do for the 6502 and 65m32. Mike |
|
|
Sort by: |