Search found 12 matches

by java6502
Sat May 24, 2025 12:29 pm
Forum: Hardware
Topic: CH375B USB Mass Storage Controller
Replies: 25
Views: 45900

Re: CH375B USB Mass Storage Controller

So after consulting the datasheet some more, it turns out I was not following the timing diagram correctly. After making a few corrections, everything seems to work now.
by java6502
Sat May 24, 2025 12:03 pm
Forum: Hardware
Topic: CH375B USB Mass Storage Controller
Replies: 25
Views: 45900

Re: CH375B USB Mass Storage Controller

Has anyone had any luck getting this chip to work in parallel mode connected to a 6522 VAI?
by java6502
Sun Feb 04, 2024 5:10 pm
Forum: Hardware
Topic: USB Keyboard to 6502... ?
Replies: 15
Views: 11867

Re: USB Keyboard to 6502... ?

Gordon,
Were you able to connect a USB keyboard to your system using the CH375? I'm exploring USB solutions for my system as well, and wondered if you had made any progress. I'm only interested in connecting a USB keyboard.

Thanks,
Jonathan
by java6502
Thu Jan 18, 2024 6:22 pm
Forum: SBC- Series Projects
Topic: Text Video Display
Replies: 75
Views: 78284

Re: Text Video Display

Daryl,
PB1 does toggle after each character. I verified this by connecting it to an LED. I can check this now and create a wait in conjunction with the spi transfer. This fixes the problem with SPI being too fast during scrolling. So current status, everything works fine using SPI. The handshake ...
by java6502
Wed Jan 17, 2024 12:23 pm
Forum: SBC- Series Projects
Topic: Text Video Display
Replies: 75
Views: 78284

Re: Text Video Display

Daryl,
So it looks like I got out ahead of my skis on this. You are correct, SPI works great until the screen scrolling routine on the AVR kicks in, then it's too fast. I tried setting the v_idle to $80, and this didn't work.

On the AVR, the first call to VOutput works, however, it seems that the ...
by java6502
Mon Jan 15, 2024 10:24 pm
Forum: SBC- Series Projects
Topic: Text Video Display
Replies: 75
Views: 78284

Re: Text Video Display

Daryl,
Fantastic news. SPI works perfectly. Thank you so much for all of your help. This is awesome. I'm going to clean up some things and then post in detail exactly what we did so the next person can get this figured out a little easier.
by java6502
Mon Jan 15, 2024 10:04 pm
Forum: SBC- Series Projects
Topic: Text Video Display
Replies: 75
Views: 78284

Re: Text Video Display

Daryl,
I connected PORTB pin 1 (Arduino DP9) to an LED. When the banner comes up on reset the LED lights and once the banner is completely loaded and the cursor starts to blink, the led turns off. I will try using SPI next and get back to you (probably need a chip select for SPI as well).
Thanks ...
by java6502
Mon Jan 15, 2024 11:52 am
Forum: SBC- Series Projects
Topic: Text Video Display
Replies: 75
Views: 78284

Re: Text Video Display

Daryl,
Currently, I only get 0 on bit 7 when reading PORTB. After the banner appears, after calling VInitDisp, and after calling VOutput. I always get 0 on bit 7.

As for the W65C02SXB side, I am using the user VIA. This is VIA1 on the board. I am using 3 pins on the VIA. PORTB pin 7, and PORTB CB1 ...
by java6502
Fri Jan 12, 2024 10:51 pm
Forum: SBC- Series Projects
Topic: Text Video Display
Replies: 75
Views: 78284

Re: Text Video Display

Hi Everyone,
So I finally had some time today to dig back into this. As a reminder, I am trying to get Daryl's Text Video Display to run on an Atmega328p (i.e. Arduino Uno). I replaced all of the rjmp instructions with jmp as Daryl suggested, and of course changed the io header from m88PAdef.inc to ...
by java6502
Mon Jan 08, 2024 11:39 pm
Forum: SBC- Series Projects
Topic: Text Video Display
Replies: 75
Views: 78284

Re: Text Video Display

Thanks for the replies everyone.

I will try the suggestion Daryl made and report back on my progress. I'm using an Arduino Uno, and so I already have a 16MHZ external clock. Not sure if I need to change the fuse bit for an external clock, so please let me know if I misunderstood.

Also, while ...
by java6502
Sun Jan 07, 2024 11:13 am
Forum: SBC- Series Projects
Topic: Text Video Display
Replies: 75
Views: 78284

Re: Text Video Display

Has anyone tried to run Daryl's Text Video Display on an Atmega328p? I'm trying to port this over and I'm not having much luck. The source code assembles fine with the m328Pdef.inc file replacing the m88PAdef.inc file, however no signal on PD1 and PD2. I'm guessing these chips are different enough ...
by java6502
Sun Apr 30, 2023 4:10 pm
Forum: General Discussions
Topic: Introduce yourself
Replies: 716
Views: 418832

Re: Introduce yourself

Hello everyone,
I'm Jonathan and go by the handle java6502. java because that's what occupies most of my day and pay's the bills, and 6502 because that's what I do for fun. I truly believe however a very tiny Java VM to run on a 6502/65816 should be possible, even if very limited in scope. Anyway, I ...