Search found 367 matches

by Druzyek
Tue Mar 31, 2026 12:18 pm
Forum: General Discussions
Topic: Where to buy W65C134
Replies: 0
Views: 1

Where to buy W65C134

I got curious recently about the W65C134 but can't find anywhere to buy the QFP version. The Contact Us form at https://wdc65xx.com/ seems to be broken and the "Where To Buy" page hasn't been updated in 2 years. Any recommendations?
by Druzyek
Tue Apr 29, 2025 3:02 am
Forum: General Discussions
Topic: Emulating NES CPU and PPU on PIC32, too slow?
Replies: 96
Views: 23105

Re: Emulating NES CPU and PPU on PIC32, too slow?

Wow, what a great project! I loved reading about what was hard and how you didn't give up. I built a 6502 emulator in MIPS assembly for the PIC32 and figured out a few things that might be useful:

- It may be faster to skip setting the flags for each instruction and instead save the values that ...
by Druzyek
Sat Dec 24, 2022 1:34 pm
Forum: Emulation and Simulation
Topic: Blinky robot with emulated 6502
Replies: 4
Views: 4868

Re: Blinky robot with emulated 6502

Hehe, could be, Dr Jefyll! I was thinking more like the movie Inception or The Matrix if the humans in the matrix had invented machines again and the machines made a matrix in that matrix.
by Druzyek
Tue Dec 20, 2022 6:58 pm
Forum: Emulation and Simulation
Topic: Blinky robot with emulated 6502
Replies: 4
Views: 4868

Blinky robot with emulated 6502

Just for fun, I made a blinky robot with a PIC32 emulating a 6502. Pictures and description on my blog .
blinky-robot-front.jpg
The PIC32 is running a 65C02 emulator I wrote in MIPS assembly. Partly to test the emulator, I got Tali Forth 2 running on it and now use QEMU for MIPS so I can have Tali ...
by Druzyek
Tue Dec 20, 2022 6:41 pm
Forum: Forth
Topic: Architectures That Can't Run Forth
Replies: 15
Views: 13643

Re: Architectures That Can't Run Forth

After I got familiar with PIC16 for that first project in 1996 which used a PIC16F84 for work, Microchip has added workarounds for persistent problems, so now there's the PIC16F1 line, the PIC18, and PIC24, in order of increasing power. (PIC17 has been dropped.) They're still kluges though. (PIC32 ...
by Druzyek
Wed Jul 20, 2022 9:00 pm
Forum: Programming
Topic: Alfred Arnold's AS Macro Assembler on Linux
Replies: 3
Views: 3678

Re: Alfred Arnold's AS Macro Assembler on Linux

I know this is an old thread, but I found the answer and ran across this thread while looking for it. This blog post explains it more or less, though the filename in the post is slightly wrong: Compiling AS MacroAssembler on Linux . This worked for me yesterday on Ubuntu 22.04:

wget http://john ...
by Druzyek
Sun Jul 10, 2022 1:35 am
Forum: Programming
Topic: Interactive 6502 assembler/simulator in browser
Replies: 1
Views: 696

Interactive 6502 assembler/simulator in browser

TL;DR - Interactive 6502 assembler/simulator with syntax highlighting in your browser. Assembles and simulates as you type, kind of like godbolt/Compiler Explorer. Link here

A few months ago, while working on a 6502 emulation project, I kept having to look up little details like which addressing ...
by Druzyek
Fri Apr 01, 2022 5:47 pm
Forum: Programming
Topic: Help me pick an assembler!
Replies: 37
Views: 13852

Re: Help me pick an assembler!

CA65, as everyone has mentioned here, is a very good option. You may want to try Macroassembler AS as well to see what you think. I switched after getting frustrated with a couple of the macro features in CA65. It meets all of your requirements except being native to Linux. It runs fine for me on ...
by Druzyek
Sun Mar 06, 2022 9:52 pm
Forum: Newbies
Topic: cc65 confusion...
Replies: 18
Views: 3579

Re: cc65 confusion...

What happens when main returns? Just to be sure nothing weird is happening after that, you could try putting while(1); before return (0);. Also, no need to put parentheses around the value in a return statement.
by Druzyek
Sat Feb 05, 2022 4:22 am
Forum: Programming
Topic: Calypsi C compiler toolchain for 6502 and 65816
Replies: 81
Views: 15027

Re: Calypsi C compiler toolchain for 6502 and 65816

Thanks for the updates! Having the sources to build things ourselves is a neat idea, though I do prefer the .deb files you've been offering.
by Druzyek
Sat Feb 05, 2022 4:17 am
Forum: Newbies
Topic: Custom Project Box / Case
Replies: 17
Views: 2677

Re: Custom Project Box / Case

If a 3D printer is an option, I can recommend the Ender 3. It's less than $200 and mine has worked flawlessly out of the box from the first print 2+years ago up until today without having to tweak or tune anything. Making a little box only takes a few lines in OpenSCAD.

Gordon's suggestion about ...
by Druzyek
Tue Dec 14, 2021 12:45 am
Forum: Programming
Topic: How do you debug your 6502/65C02 code?
Replies: 27
Views: 4961

Re: How do you debug your 6502/65C02 code?

Ok, it should be updated now. I had uploaded the updated version to the wrong place on the website...

Thanks everyone for the help.
by Druzyek
Mon Dec 13, 2021 3:52 am
Forum: Programming
Topic: How do you debug your 6502/65C02 code?
Replies: 27
Views: 4961

Re: How do you debug your 6502/65C02 code?

It's still a bit wonky for me. I even tried changing the font to courrier-10 and telling my browser (firefox) to use my fonts all the time. I tried with chrome too. Same. Example here: Thanks, Gordon. Strange. The font in your screenshot is not a monospace font, although Courier and Courier New ...
by Druzyek
Sat Dec 11, 2021 7:16 am
Forum: Programming
Topic: How do you debug your 6502/65C02 code?
Replies: 27
Views: 4961

Re: How do you debug your 6502/65C02 code?

Below is what I see accessing the website from Windows. The problem is that I use the font Lucida Console all over the site which has been my goto fixed width font since the earlier 2000s. Apparently, it was designed for situations exactly like this where you need to cram a lot of text into a small ...
by Druzyek
Mon Dec 06, 2021 7:26 pm
Forum: Programming
Topic: WDC Tools STARTUP.ASM and C samples files for 6502/816
Replies: 22
Views: 6292

Re: WDC Tools STARTUP.ASM and C samples files for 6502/816

i tried using extern like this: extern uint8_t TEST_SYM = 0x69; Extern doesn't declare a variable that is visible externally. Instead, it tells the linker that the variable is declared externally elsewhere (without extern). For example, you can declare a global variable in one file then access it ...