I am getting good results with using Claude for debugging. I have huge trace files from my emulator and it is very tedious to look through them to determine where the code path goes wrong. This is an excellent use for AI.
In general I find AI very useful, but you have to work closely with it and ...
Search found 196 matches
- Thu Mar 12, 2026 4:26 am
- Forum: General Discussions
- Topic: A pair of Tiny BASICs
- Replies: 15
- Views: 2146
- Mon Feb 23, 2026 7:28 pm
- Forum: General Discussions
- Topic: Usagi Electric enjoying a 6500/1 in the wild!
- Replies: 7
- Views: 840
Re: Usagi Electric enjoying a 6500/1 in the wild!
I'm not sure if the 6500/1 was a MOS design or a Rockwell design, but the Rockwell version has a lot more documentation. This includes emulator devices with a piggyback socket for an EPROM, for development, and I think there is one packaged with extra pins for an external bus for a ROM only. They ...
- Fri Dec 26, 2025 3:03 am
- Forum: Forth
- Topic: Turtle Graphics in FORTH
- Replies: 2
- Views: 664
Re: Turtle Graphics in FORTH
Thanks for sharing the video and the source code. It's always interesting to see code running on real hardware at 6502 speed.
Your point about RECURSE working well is a nice reminder of how elegantly FORTH handles recursion for these kinds of fractal patterns.
What strikes me about Turtle Graphics ...
Your point about RECURSE working well is a nice reminder of how elegantly FORTH handles recursion for these kinds of fractal patterns.
What strikes me about Turtle Graphics ...
- Fri Dec 12, 2025 11:17 pm
- Forum: Nostalgia
- Topic: Old 6502 Stuff
- Replies: 7
- Views: 915
Re: Old 6502 Stuff
Going to me actually. I'm mainly interested in the AIM-65, but the MICE-II looks like it could be a useful device, as long as I'm only working with a 6502, but maybe it could be upgraded to a 65C02? Might be interesting to work on a modernised version too, although probably emulating the 6502 could ...
- Sun Nov 16, 2025 1:51 am
- Forum: Hardware
- Topic: Interleaving video memory acces for the MC6845
- Replies: 15
- Views: 1709
Re: Interleaving video memory acces for the MC6845
If you haven't already read this, Synertek app note 3 has useful information on the various ways of interfacing to the 6545.
I particularly like the example of using the 6545 address lines as a keyboard scanner.
I particularly like the example of using the 6545 address lines as a keyboard scanner.
- Wed Sep 03, 2025 8:11 pm
- Forum: EhBASIC
- Topic: Any updates on the license problem?
- Replies: 78
- Views: 53722
Re: Any updates on the license problem?
With the release of MS-Basic source under the MIT License I believe that this now means that EhBasic is legal as a derivative work, if that is the case, so that issue now goes away. Scanning through this topic it appears that Lee licensed EhBasic for non-commercial use, so anyone that did have ...
- Wed Sep 03, 2025 6:19 pm
- Forum: Programming
- Topic: Microsoft 6502 Basic released under MIT license
- Replies: 11
- Views: 4205
Microsoft 6502 Basic released under MIT license
Microsoft has released the source code to 6502 basic with build flags for Apple II, Commodore PET, OSI and KIM-1. The source is on GitHub. https://github.com/microsoft/BASIC-M6502
Information from Microsoft:
https://opensource.microsoft.com/blog/2025/09/03/microsoft-open-source-historic-6502 ...
Information from Microsoft:
https://opensource.microsoft.com/blog/2025/09/03/microsoft-open-source-historic-6502 ...
Re: The 65864
A cache may solve the bus width and alignment problems while still looking simple from the programmers view. This does significantly complicate the hardware, but would make it easier to use modern SDRAM.
- Thu May 29, 2025 2:08 am
- Forum: Programmable Logic
- Topic: ATF15xx Verilog/VHDL using Quartus 13.0 SP1
- Replies: 60
- Views: 30772
Re: ATF15xx Verilog/VHDL using Quartus 13.0 SP1
I guess I have good timing - this thread is alive! I've been trying to use Quartus II to demux a 65C816 (data and bank) using an ATF1504as 7.5ns, but to no avail. I switched to WinCUPL, but I feel like I'm banging my head against the wall. I'm sure people have done this before; but I just can't get ...
- Tue May 20, 2025 11:43 pm
- Forum: Hardware
- Topic: CPLD lost it's memory
- Replies: 6
- Views: 2045
CPLD lost it's memory
I hadn't used my Rockwell Forth system for a while, and now that I've powered it up again it doesn't work. After a short investigation it looks like the CPLD isn't working. I can pop it out of its socket, power up and get the same result as when it's in the socket. It's there mainly for the address ...
- Sat May 10, 2025 4:25 am
- Forum: Programming
- Topic: Programming the 65816 - PDF version anyone?
- Replies: 7
- Views: 3207
Re: Programming the 65816 - PDF version anyone?
There are two versions of the PDF in the wild. The older of the two has a number of errors that crept in during the process of digitizing the original. Around 2015, WDC sacrificed an original paper copy and OCRed it into a clean and searchable PDF, which is what is available for download from the ...
- Sat Apr 19, 2025 11:59 pm
- Forum: Programming
- Topic: Zero page as registers
- Replies: 22
- Views: 13747
Re: Zero page as registers
As another view on zeropage, it's also common to have a subsystem (say, a set of floating point routines) which use some area of zero page as a scratchpad (say, two or three multibyte values.)
Indeed Sweet16 is such a subsystem, but I think that's more often mentioned than actually used!
Yes, I'd ...
Indeed Sweet16 is such a subsystem, but I think that's more often mentioned than actually used!
Yes, I'd ...
- Sat Apr 12, 2025 12:29 am
- Forum: Programming
- Topic: Zero page as registers
- Replies: 22
- Views: 13747
Re: Zero page as registers
The 816 should have had an instruction such as PLW to remove a word from the stack without clobbering a register.
It does appear to be an omission to not have push and pull stack pointer instructions, this would be a simple way of clearing a stack frame. As you show in your comment, you'd still ...
It does appear to be an omission to not have push and pull stack pointer instructions, this would be a simple way of clearing a stack frame. As you show in your comment, you'd still ...
- Sat Apr 12, 2025 12:18 am
- Forum: Programming
- Topic: Zero page as registers
- Replies: 22
- Views: 13747
Re: Zero page as registers
barrym95838 wrote:
MOV doesn't fit well into the 65xx vernacular, IMHO.
- Fri Apr 11, 2025 2:43 am
- Forum: Programming
- Topic: Zero page as registers
- Replies: 22
- Views: 13747
Zero page as registers
There has been quite a bit of discussion of the lack of registers on the 6502, and the idea of thinking of zero page as a very large register file. To add weight to this Bill Mench has called this 'Addressable Register Architecture'. And it is a relatively common technique to define some zero page ...