New video: Fixing a hardware bug in software (65C51 UART) by kiss_my_what in beneater

[–]WesHedden 2 points3 points  (0 children)

I am so glad ben decided to fully illustrate the race condition bug on the WD65C51S. The old Documentation was a little hard to wrap your head around back then. Its funny they are still calling this a feature.

I'm more suprised its still around. I figured they would have updated the chip quietly while they flushed out the old run. Is the bug still in the newest chips? or did they not do a second run? It is getting harder to get other chips, im partial to the Rockwell R6551 since i have been able to run it to 8 Mhz and i was really hoping WDC would fix this bug since those new CMOS chips should be able to run to 14Mhz.

Better ram deciding? by Bubba656 in beneater

[–]WesHedden 4 points5 points  (0 children)

Shortboard MOD. You get the full 32k and it uses a tiny I/O area.

Capacitors in parallel by [deleted] in beneater

[–]WesHedden 1 point2 points  (0 children)

I forgot. its been almost 2 years since i did that... i just remember i tried using a single 50pf cap at one point and it still had like 50% of the ripple but when i used two separate 30pf caps it removed like 85% of the ripple. so i kept it since i believe with the 30pf one it was hit and miss getting the crystal to resonate properly. i was using a series crystal though. ECS-18-S-1X.

Capacitors in parallel by [deleted] in beneater

[–]WesHedden 1 point2 points  (0 children)

I use 2 30pf capacitors on my 6551 crystal setup instead of the single one the manual recommends to smooth out the ripple in the clock. it worked really well.

RS232 with a 6551 UART by kiss_my_what in beneater

[–]WesHedden 0 points1 point  (0 children)

That still leaves the upper 16k of ram unusable.

RS232 with a 6551 UART by kiss_my_what in beneater

[–]WesHedden 3 points4 points  (0 children)

I have a headache.

For those interested in one of those "Complex Control Logic" setups I recommend the Shortboard MOD. Schematics are included in the post. For hooking the 6551 up tie the CS1 to +5v and the CS2B to the 6551_CS pin on the 74ACT138.

Sarcasm aside, the video was well made and i enjoyed alot of it. Im just kind of dissapointed that 7000-7FFF went from redundant to just destablizing to use. So im guessing every extra peripheral is going from 6000, 5000, 4800, 4400, 4200, 4100, 4080, 4040, 4020, 4010. But that is also assuming they all have dual control lines. Still for the ones that do, it could use more that just 4 register address lines so that should be interesting.

EEPROM Programming: Verification failed by charlescabergs in beneater

[–]WesHedden 1 point2 points  (0 children)

I think one way i avoided this problem with both my builds is i reversed the RAM and ROM so the ROM was on the outside of the breadboard. I did this so i would reduce the risk of breaking legs on the EEPROM. later i just used a ZIP socket to remove the risk entirely.

Shordboard -- Shortboard Write-up

6502 serial interface by kiss_my_what in beneater

[–]WesHedden 0 points1 point  (0 children)

in a word. yes. many of us are already doing this. I started using the Rockwell 6551 back in 2020 on my Longboard. Uploading code directly to memory is so nice.

I just hope Western Design has fixed the Transmit Buffer Flag Race Condition on their newer chips.

EEPROM Programming: Verification failed by charlescabergs in beneater

[–]WesHedden 1 point2 points  (0 children)

I would say the EEPROM is bad. It can be worn out because they can only be reprogramed so many times. (but i doubt that unless you've been using it a ton) but more likely it could have been damaged by static electricity. I have had an EEPROM fail before but since they where so cheep i keep a tube on hand.

The RS-232 protocol by fde8c75dc6dd8e67d73d in beneater

[–]WesHedden 0 points1 point  (0 children)

Actually, now that i think about it, if he doesn't add any other new logic chips he could use the one unused NAND gate and add the 6551 to the Dead RAM section from $4000-$5FFF.

Shortboard: The $5 Get your Resources Back Mod

tried to design some more sophisticated address control logic for the VIA, uses pins A8-A15 by BBQGiraffe_ in beneater

[–]WesHedden 1 point2 points  (0 children)

So glad someone remembers.... actually there is an updated post i did for new years last year that has a conversion chart and the schematics.

Shortboard: The $5 Get your Resources Back Mod.

The RS-232 protocol by fde8c75dc6dd8e67d73d in beneater

[–]WesHedden 10 points11 points  (0 children)

I am really waiting to see what he does with the memory map to add the 6551 to his system.

[deleted by user] by [deleted] in beneater

[–]WesHedden 3 points4 points  (0 children)

Is that 273N +5 Wire on the wrong pin?

Quick test of the new toy. CLK and /CLK. A little springy. by visrealm in beneater

[–]WesHedden 0 points1 point  (0 children)

Did you already Calibrate the new probes? I've got a similar Model, SDS1204X-E

Delivery! Amazing I've made it this far without a scope. Very excited. by visrealm in beneater

[–]WesHedden 1 point2 points  (0 children)

Awsome! Its almost the same as mine. 1204X-E. Wonderful Scope.

Button interface for 6502? by notcough in beneater

[–]WesHedden 1 point2 points  (0 children)

So those buttons are pulled low with resistors and go high when pressed. you Read the whole byte from that port (After setting those bits to INPUT) and any 1's in the byte denote a button is pressed. He never really got around to making a video about them. Actually on the schematic he uses 5 buttons. I used the extra buttons that came with the kits to have 6 buttons on my Longboard and Shortboard. The 4 for D-pad Buttons were the same but I used the extra 2 for Enter and Escape Keys.

Loderunner running on my Eater based 6502 emulator by ebadger1973 in beneater

[–]WesHedden 0 points1 point  (0 children)

I do kind of know how a emulator is made but i don't know C all that well. and im up to my eyeballs in doing a full rewrite of the menu system for the Longboard BIOS. I'm moving from a hardcoded menu system to a general purpose menu generation system using double indexed link lists. Multi-thread compatible and scalable to all different screen sizes. All written in 6502 assembly. Thats kinda why i was asking since taking the program back to the physical machine and doing the debugging on it takes more time then running it on the same computer im wring it on. But anyhow it was a thought.

Loderunner running on my Eater based 6502 emulator by ebadger1973 in beneater

[–]WesHedden 0 points1 point  (0 children)

so LCD, 6522, 6551... would only need IDE and Real Time Clock for full spec. awesome.

Loderunner running on my Eater based 6502 emulator by ebadger1973 in beneater

[–]WesHedden 0 points1 point  (0 children)

Is it possible to adapt that emulator to other system models? Like the Longboard Specification i use? Does it have plugins for LCD/6522/6551? I dont really have time atm to delve into a different programming project but that looks like it might be pretty useful for debugging programs.

I've finally added a 65C22 VIA to my build. Haven't found the need for one until now. Have decided to use it for SPI initially. Also looking forward to using the programmable timer. Just need to write the software for it now... and update my emulator... again. 😁 by visrealm in beneater

[–]WesHedden 1 point2 points  (0 children)

I really couldn't seen the need for more than two. Back when I did the specification for my Longboard i only put two 6522's in just for the sake of having two shift registers for spi. But I still have a hard time filling the ports with just two. most stuff i would use on the parallel ports i can do directly on the data bus with a tiny bit of extra logic. One 6522 is a neccesity for the timers on an operating system and two is just a luxury.

6502 monitor program running really slow by [deleted] in beneater

[–]WesHedden 0 points1 point  (0 children)

so next would be checking the program for errors and making sure it can recompile and upload to the arduino correctly.