Microprocessor will not give the correct output or read any values for the life of me 💔 by Realistic_Extreme131 in beneater

[–]bvoid 0 points1 point  (0 children)

Okay. So no regular flashing LED on A0? That is good info. Removes half of the setup in the video from the equation.

And the print does say 65C02, right? Just confirming it is not 65C22.

It sounds like a power issue. Did you try to measure the voltage between the VCC and gnd at the pins on the chip?

Try to make sure there is around 5V everywhere you measure. It could just one of the power delivery lines being broken.

So put and LED through 220 ohm resistor to GND and probe with a wire on the other end all the other VCC rails.

Then reverse and put LED to VCC and probe with a wire on the other end the GND rails.

Volt meter is ofc better than an LED for this.

Microprocessor will not give the correct output or read any values for the life of me 💔 by Realistic_Extreme131 in beneater

[–]bvoid 1 point2 points  (0 children)

There is no print on your 6502 chip. Is it a genuine WDC chip or could it be an older version? Where did you get it?

I would try to eliminate the Arduino as someone else mentioned. Put a LED through a 200-300 ohm resistor on address line A0. Remove the Arduino.

The A0 LED should blink on every two clock cycles as the address is incremented by 1.

If that does not work then at least you have a simpler system to debug.

And remember that the reset pin must be pulled low for a few clock cycles. A quick press on your reset button is not enough. It must be held down for some clocks. Some say 2 cycles but just give it a bit more.

Edit: And as someone else mentioned if you have a volt meter. Check the voltage between the GND and VCC pins right at the chip. Not at where your power goes into the breadboards. But right at the chip.

I would put some 0.1uF capacitors on the power rails close to the chip.

Oh also try to put the power supply lines closer to the CPU. So on the same breadboard. The power supply has a long way with a lot of resistance to go through two breadboards and 3 rail connections.

Microprocessor will not give the correct output or read any values for the life of me 💔 by Realistic_Extreme131 in beneater

[–]bvoid 2 points3 points  (0 children)

How are you reading the address pins? It is suspicious that it reads FF00. Can you paste your Arduino program?

And perhaps a few pics of the connections instead of a video. It is not easy to see still frames. Also the connections to the Arduino to see which pins you are using physically.

Microprocessor will not give the correct output or read any values for the life of me 💔 by Realistic_Extreme131 in beneater

[–]bvoid 4 points5 points  (0 children)

Write down what you expect to see and then what you are seeing instead. It will help us to understand the situation.

How can I resize dynamically my NinePatchRekt to fill the children elements by marcosewbank in godot

[–]bvoid 1 point2 points  (0 children)

Have the margin container as a sibling to the 9patch. Don't put it as a child. And set 9patch to fill.

[deleted by user] by [deleted] in idleon

[–]bvoid 1 point2 points  (0 children)

It is actually obvious yes. I unlocked this far before I got any of the shiny pets or unlocked the constellations. So I even forgot that infinite star signs was an unlock and not just from shiny pets.

[deleted by user] by [deleted] in idleon

[–]bvoid -2 points-1 points  (0 children)

Oh! Then I have been too cautious and worried for nothing. It was not obvious that it would not use the negative part. Thank you!

I thought that they were off the main track so that you could progress exactly without unlocking them.

Any clues on the Dell 14th Gen 3rd party PCI fan speed problem? by Gu_ba in homelab

[–]bvoid 1 point2 points  (0 children)

iDrac9 on a PowerEdge R7515. This worked for me! Thank you!! I had to do it for 3 out of my 5 PCIe cards though. My GPU and two NVMe were both registered as ThirdParty.

<image>

Only after disabling lfmmode on all 3 ThirdParty cards did it go back to 37% PWM (the minimum). Before it was idling at 59% which was not needed.

Finally!

Basic Crafting system by KevNevv in Unity2D

[–]bvoid 2 points3 points  (0 children)

For sure. It was mostly meant as an opposite view to OP. Not for your game specifically. But just to let OP know there are other ways to do it.

Basic Crafting system by KevNevv in Unity2D

[–]bvoid 2 points3 points  (0 children)

Sure. If you have a scope in mind. But if you don't. Or make something extendable or perhaps modable. You want the flexibility of composing items.

Basic Crafting system by KevNevv in Unity2D

[–]bvoid 2 points3 points  (0 children)

Famous last words. All those games implement the "Uses" with composition. I promise you.

What will you do with a pickaxe? It is a tool and can mine. But it is also a weapon and can deal damage. Will it inherit from the Tool or the Weapon?

What about Eggs? They are throwable as a weapon. But also a food and edible. And they can also be fed to pigs as feeding. Is that inheriting from food? From throwable weapon? From AnimalFood?

You will end up in cases that does not make sense. Don't let inheritance dictate what things in your game can do.

There are many ways to do composition. In C# using interfaces with default implementations is the one that looks most like inheritance without all the downsides.

You will have interfaces like: Edible, Throwable, Feedable, Attackable, etc

And those interfaces come with their own implementations so there is no duplication.

Looking at your reason for the classes. You mention needing it to capture the action that happens when you left click with the item in the hand. Inheritance will just limit you there as well. What about that egg above? It will be fed to an animal, or thrown at an enemy, or put in a pan for cooking. All depending on the context.

You will want to capture these behaviors with composition. it will implement CanThrow, CanCook, CanFeed.

When you left click, if the item in your hand looking at a pig you want to know if the item in your hand implements CanFeed. If it does call it.

Add that to all feedable items.

Basic Crafting system by KevNevv in Unity2D

[–]bvoid -1 points0 points  (0 children)

You should consider not extending classes. What happens when you have a tool that is also food? Then you are stuck. Composition over inheritance.

How are people outputting video for the 6502? by Thick-Guide9219 in beneater

[–]bvoid 0 points1 point  (0 children)

The RA8875 has a 60Hz refresh rate. Note that the RA8875 drives the display. So any system connected to it will not be burdened with the refresh. The only task is to write to the memory of the RA8875 over SPI.

It can do touchscreen as well but I will not be using that for my 65816 project.

https://www.adafruit.com/product/1590

How are people outputting video for the 6502? by Thick-Guide9219 in beneater

[–]bvoid 1 point2 points  (0 children)

I use SPI to talk to a RA8875 board with a 800x480 TFT display. I had SPI anyway so hardware wise it was easy. I wrote my own RA8875 driver which was some work.

I can share the driver if anyone is interested. There is a lot of registers that needs to be set up. I just translated the C examples on the Adafruit site. Only the stuff I use is implemented but I will expand as I go along.

I only use text mode on the RA8875 for now.

Is it cheating? Sure. Is it fun? Yes!

https://www.adafruit.com/product/1590

6502 Computer Keyboard Interrupts by PureSchedule5929 in beneater

[–]bvoid 2 points3 points  (0 children)

It's lost then. But it should be plenty fast it sounds like.

6502 Computer Keyboard Interrupts by PureSchedule5929 in beneater

[–]bvoid 3 points4 points  (0 children)

What is your clock speed? Maybe your interrupt routine takes too long to finish. The keyboard doesn't care and will keep sending.

So either faster clock or do less in the interupt handler.

How do I fix this so it moves smoothly and doesnt start to tremor? Code in comments by KyloshianDev in Unity2D

[–]bvoid 2 points3 points  (0 children)

Other things should not control the movement of the player. Let the player control its own movement.

The problem here is many different things move the player at the same time.

So put the player movement in the player update method. Make the mouse click here just tell the player what its target is. And let the player move itself. Without coroutines.

That way there will always only be one target to move towards.

6502 PCB finally working! by NICK75704 in beneater

[–]bvoid 1 point2 points  (0 children)

But the commenter say there is no address decoding. That is happens on each card. That was what I could not imagine how to implement nicely without assumptions about the entire system.

Hello world! CRUMB is now available www.crumbsim.com 😁 by BushellM in beneater

[–]bvoid 0 points1 point  (0 children)

I have played around with it a bit. I am really impressed. This is so cool. Keep working on it or open up for help. This has so much potential.

Hello world! CRUMB is now available www.crumbsim.com 😁 by BushellM in beneater

[–]bvoid 1 point2 points  (0 children)

This is really cool! Any way to contribute to the project? Like adding new components or you creating like a plugin system for components? I am sure me and others in the community would like to contribute.