So I hacked on cc65 instead, making some large, obvious improvements. (Note: the maintainer of cc65 did not accept them).
Can you elaborate on what they did and why they were not accepted?
* Static parameter passing (enabled with --static-params): uses fixed memory locations for parameter ...
Search found 25 matches
- Wed Dec 02, 2009 7:22 pm
- Forum: General Discussions
- Topic: A GCC backend for the 6502?
- Replies: 26
- Views: 14520
- Wed Dec 02, 2009 4:11 pm
- Forum: General Discussions
- Topic: A GCC backend for the 6502?
- Replies: 26
- Views: 14520
- Wed Jun 24, 2009 4:14 pm
- Forum: General Discussions
- Topic: Improving the 6502, some ideas
- Replies: 185
- Views: 117539
It's possible to use garbage collection with C, although it's a hack. Basically the garbage collector looks for anything that might be a pointer to allocated memory, although it has no way of knowing that it actually is a pointer, so you get some false positives. More dangerously, if a pointer is ...
- Tue Jun 23, 2009 7:30 pm
- Forum: General Discussions
- Topic: Improving the 6502, some ideas
- Replies: 185
- Views: 117539
- Tue Jun 23, 2009 6:23 pm
- Forum: General Discussions
- Topic: Improving the 6502, some ideas
- Replies: 185
- Views: 117539
- Tue Jun 23, 2009 12:47 am
- Forum: General Discussions
- Topic: Improving the 6502, some ideas
- Replies: 185
- Views: 117539
- Mon Jun 22, 2009 5:22 pm
- Forum: General Discussions
- Topic: Improving the 6502, some ideas
- Replies: 185
- Views: 117539
For VBR's original question - what small delta would you make to 65c02 - I'd start with the '816's B accumulator, and then I'd take some other goodies from the '816. I'd prefer separate opcodes for 16-bit operations, if there were any. I don't much like the modes.
A "B" register isn't a bad idea ...
A "B" register isn't a bad idea ...
- Sun Jun 21, 2009 7:37 pm
- Forum: General Discussions
- Topic: Improving the 6502, some ideas
- Replies: 185
- Views: 117539
- Sat Jun 20, 2009 7:50 am
- Forum: General Discussions
- Topic: Improving the 6502, some ideas
- Replies: 185
- Views: 117539
Regarding "memory is super cheap now"...when it was a struggle to fit a CPU on a chip, it might have made sense to waste memory in exchange for a simpler CPU. But when the entire system, including memory, is on a single chip, it makes no sense to waste memory, since memory is the biggest cost.
Look ...
Look ...
- Thu Jun 18, 2009 2:27 pm
- Forum: General Discussions
- Topic: Improving the 6502, some ideas
- Replies: 185
- Views: 117539
Improving the 6502, some ideas
What are the simplest, most useful improvements you could make, taking the WDC65C02 as a base?
1) 24-bit program counter
This would allow 16MB of ROM code without bank switching. RAM, I/O, and ROM data would be located in the lower 64K.
jsr/jmp/rts/rti redefined for 24-bit operation.
New opcodes ...
1) 24-bit program counter
This would allow 16MB of ROM code without bank switching. RAM, I/O, and ROM data would be located in the lower 64K.
jsr/jmp/rts/rti redefined for 24-bit operation.
New opcodes ...
- Tue Aug 21, 2007 10:36 am
- Forum: Hardware
- Topic: Introduction and 1541 problem
- Replies: 26
- Views: 16222
- Fri Aug 17, 2007 5:13 pm
- Forum: Hardware
- Topic: Introduction and 1541 problem
- Replies: 26
- Views: 16222
- Sat Jul 28, 2007 8:04 am
- Forum: Emulation and Simulation
- Topic: emulator source
- Replies: 7
- Views: 8493
Re: emulator source
Hyper wrote:
Hello all I have an exciting project started but I need to incorporate an emulator into the project. I am using MSVC6 for the project so the code needs to be c/c++ for that target.
- Sat Jul 07, 2007 1:47 pm
- Forum: Programming
- Topic: Writing an assembler
- Replies: 17
- Views: 13037
- Fri Jul 06, 2007 7:00 pm
- Forum: Programming
- Topic: Writing an assembler
- Replies: 17
- Views: 13037