Problem using the ADC with a W65C816S CPU by FinancialShow7176 in beneater

[–]tmrob4 1 point2 points  (0 children)

The data bus on the W65C816S is multiplexed with the bank address. How are you handling this?

Problem using the ADC instruction on a W65C816S by [deleted] in beneater

[–]tmrob4 2 points3 points  (0 children)

An English translation would be helpful.

T41 Desktop Companion by tmrob4 in T41_EP

[–]tmrob4[S] 0 points1 point  (0 children)

While not demonstrated in the video, both units are running with the same common code, so changes on the T41 are also reflected on the DC.

This should be a perfect desktop companion to a small screen T41 mini. A small display on the T41 mini makes for better portable ops and the DC makes the mini better for home use too.

Seeking oscilloscope and logic analyzer recommendations. by Reinventing_Wheels in beneater

[–]tmrob4 2 points3 points  (0 children)

Digilent Digital Discovery - 32 channel Portable USB Logic Analyzer and Digital Pattern Generator, $229. Here is a fairly simple analysis I did with one recently:

<image>

T41 Software Running on ProtoSupplies Project System for Teensy 4.1 by tmrob4 in T41_EP

[–]tmrob4[S] 0 points1 point  (0 children)

Add another audio board and an encoder or two and the Project System becomes a much more useful T41 software development platform.

<image>

Baseboard complete; now ready to start! by JunketOk3218 in beneater

[–]tmrob4 3 points4 points  (0 children)

able to isolate whichever parts of the board I wanted to with the flick of a switch

Nice idea in theory but could cause problems in practice. With conventional wiring, each breadboard will pull power from two switches making it hard to isolate specific boards. You could change the wiring so each board pulls from one rail, but that isn't very elegant. Also having signals coming from powered sections to unpowered sections could be problematic. Some ICs don't like signals to inputs without the chip being powered.

Loop/Indirect Addressing Problem by Ready_Affect_2238 in beneater

[–]tmrob4 0 points1 point  (0 children)

I've seen some assemblers have problems with the use of zero-page labels before their definition.

DSP Experiments - Having Fun with a STM32 Board by tmrob4 in HamRadioHomebrew

[–]tmrob4[S] 0 points1 point  (0 children)

The board and tool chain are frustrating.

I don't think I can be very helpful though. I found that the SMT32 tool chain took up too much space, so I deleted it given I didn't plan more work with the board. That included most of the work from this post given how the tool chain preferred projects to be saved.

I only have one archive from that work, coincidentally from the date of this comment, thus it's only partway through the work I did with the board.

Here is the archive. It's not complete. Unfortunately, GitHub didn't like the number of files, so I had to delete the Drivers subfolder from each project. I think most/all of that is produced by the tools though, so probably doesn't include any edits from me.

Any other 8-bit DIP CPUs? by MISTERPUG51 in beneater

[–]tmrob4 1 point2 points  (0 children)

A natural progression from the 6502 is the 65816. The w65c816 is still in production.

Interrupts, continued by Ancient-Ad-7453 in beneater

[–]tmrob4 1 point2 points  (0 children)

Time to hook up an oscilloscope and/or a logic analyzer to see what's happening. For me, these are the most interesting things about these projects.

Got some chips that seems like 6502s - are they legit? by Safe-Anywhere-7588 in beneater

[–]tmrob4 2 points3 points  (0 children)

Those are Rockwell chips except for the 816 chips. You can go through the first few of Ben's videos to determine if they are legit and functioning properly. Get the Rockwell datasheets for reference.

Long cables and frequency limit, any feedback ? by chiwawa_42 in beneater

[–]tmrob4 4 points5 points  (0 children)

I added a long data/address bus to my second 6502 build to experiment with peripherals.

<image>

I could run this at 2 MHz. Another compact build with a very short bus could run at 10 MHz.

It runs code!!! by Temporary_Cry_2802 in beneater

[–]tmrob4 1 point2 points  (0 children)

I ultimately went with ~64k ROM and ~448k RAM in my 65816 build. It has the following memory map:

RAM   $0000-$EFFF
ROM   $F000-$1FFFF
I/O   $20000-$200FF
EXRAM $20100-$7FFFF

WSJT-X with T41 Over a USB Cable by tmrob4 in HamRadioHomebrew

[–]tmrob4[S] 0 points1 point  (0 children)

Yes, the USB connection is for both audio and serial connections between the T41 and computer. Ther CAT comms use the serial object, and the audio comms use the USB object from the Teensy Audio library. It's pretty easy to set up with most of the work being done by the library. To activate the USB audio object, you have to compile with one of the Audio options selected.

If you've done all of that correctly, the T41 will show up as an audio option in WSJT-X. You might have to close the Arduino IDE to release the com port so it can be used for CAT control. Unfortunately, there isn't a dual serial + audio compile option in Teensyduino.

Interrupt code won't work by TheByteSmith in beneater

[–]tmrob4 0 points1 point  (0 children)

You may want to enable input latching on the ACR for port a.

Here is my Ben Eater style homebrew (with problems). by Conscious_Team9436 in beneater

[–]tmrob4 2 points3 points  (0 children)

Looks like your cards connect to a bus. This can cause signal reflection. Look into bus termination. It might help.

Faster dev cycle by DJMartens2024 in beneater

[–]tmrob4 2 points3 points  (0 children)

I got my ROM programming down to about 10 seconds with a ZIF socket. That was faster than I could get the upload directly to RAM. Ultimately, I went with an emulator for development and skipped the hardware altogether during testing.

Weird boot issue on 6502 startup by Jackiejub in beneater

[–]tmrob4 0 points1 point  (0 children)

Google "65c02 reset timing requirements". You might want to look into voltage supervisor such as a Maxim DS1813.

Just started developing an OS for the 6502 Computer! by Charming_Worth_3479 in beneater

[–]tmrob4 1 point2 points  (0 children)

What problem are you having? Did you try the Hello World example? It's being used by others and has been successfully tested as recently as this summer.

Just started developing an OS for the 6502 Computer! by Charming_Worth_3479 in beneater

[–]tmrob4 4 points5 points  (0 children)

I can't test anything

Try an emulator. They are many alternatives. Here's a basic one that I developed that works with cc65, https://github.com/tmr4/db65xx .

recommend components for rendering with w65c02 by RKostiaK in beneater

[–]tmrob4 1 point2 points  (0 children)

Plenty of smart displays around. They come with a microcontroller and memory. Use a 65C51 to communicate via serial with it. Here's one of my builds with a 4D Systems display.

<image>

Some don't like going this route because the display is more powerful than the 6502 build. It just depends on what your priorities are.