Click here to Skip to main content
15,892,480 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: CCC 03-12-2021 Pin
OriginalGriff2-Dec-21 22:03
mveOriginalGriff2-Dec-21 22:03 
GeneralRe: CCC 03-12-2021 Pin
pkfox2-Dec-21 22:20
professionalpkfox2-Dec-21 22:20 
GeneralRe: CCC 03-12-2021 Pin
OriginalGriff2-Dec-21 23:02
mveOriginalGriff2-Dec-21 23:02 
GeneralRe: CCC 03-12-2021 Pin
pkfox2-Dec-21 23:48
professionalpkfox2-Dec-21 23:48 
GeneralRe: CCC 03-12-2021 Pin
englebart6-Dec-21 8:26
professionalenglebart6-Dec-21 8:26 
GeneralThe house that Jack built Pin
honey the codewitch2-Dec-21 15:58
mvahoney the codewitch2-Dec-21 15:58 
GeneralRe: The house that Jack built Pin
englebart2-Dec-21 16:42
professionalenglebart2-Dec-21 16:42 
GeneralRe: The house that Jack built Pin
honey the codewitch2-Dec-21 18:07
mvahoney the codewitch2-Dec-21 18:07 
*sigh*

The NES is running to a point and then crashing, and my debugger isn't tracing the call. It's rendering much of a frame before it crashes, so even though there's no output yet there are signs of life.

I thought it would have been the PPU (graphics processor) because that chip is nasty to emulate.

Nope. I took the PPU out of the circuit and just ran the CPU and the main bus.

It's still crashing in the same place.

This is both good and bad, as I'm familiar with the 6502 so I should be able to find the problem, but also I can't find it yet. Unfortunately, my defensive coding has left me with a problem. It's not supposed to crash, because I'm checking for out of range addresses. But it *is* crashing. So hmmmm.

I really wish GDB wouldn't be crapping itself right here. I've debugged other points of the program fine, and I can set breakpoints. The app isn't even multithreaded (yet).

The whole point of me making the directx driver was so I could 🐘ing debug this stupid thing. It's infuriating that the debugger still isn't working after I spent the better part of the day working toward getting a debugger essentially.
Real programmers use butterflies

GeneralRe: The house that Jack built Pin
ElectronProgrammer3-Dec-21 1:23
ElectronProgrammer3-Dec-21 1:23 
GeneralRe: The house that Jack built Pin
honey the codewitch3-Dec-21 2:15
mvahoney the codewitch3-Dec-21 2:15 
GeneralRe: The house that Jack built Pin
BernardIE53173-Dec-21 10:54
BernardIE53173-Dec-21 10:54 
GeneralRe: The house that Jack built Pin
honey the codewitch3-Dec-21 11:15
mvahoney the codewitch3-Dec-21 11:15 
JokeTis the season Pin
Mike Hankey2-Dec-21 8:35
mveMike Hankey2-Dec-21 8:35 
GeneralRe: Tis the season Pin
pkfox2-Dec-21 22:32
professionalpkfox2-Dec-21 22:32 
GeneralRe: Tis the season Pin
oofalladeez34313-Dec-21 15:56
professionaloofalladeez34313-Dec-21 15:56 
GeneralEmbarassment at work today PinPopular
Gary Wheeler2-Dec-21 6:20
Gary Wheeler2-Dec-21 6:20 
GeneralRe: Embarassment at work today Pin
jeron12-Dec-21 6:24
jeron12-Dec-21 6:24 
GeneralRe: Embarassment at work today Pin
David O'Neil2-Dec-21 6:29
professionalDavid O'Neil2-Dec-21 6:29 
GeneralRe: Embarassment at work today Pin
PIEBALDconsult2-Dec-21 6:34
mvePIEBALDconsult2-Dec-21 6:34 
GeneralRe: Embarassment at work today Pin
Gary Wheeler2-Dec-21 6:40
Gary Wheeler2-Dec-21 6:40 
GeneralRe: Embarassment at work today Pin
David O'Neil2-Dec-21 7:43
professionalDavid O'Neil2-Dec-21 7:43 
GeneralRe: Embarassment at work today Pin
PIEBALDconsult2-Dec-21 6:40
mvePIEBALDconsult2-Dec-21 6:40 
GeneralRe: Embarassment at work today Pin
Gary Wheeler2-Dec-21 6:42
Gary Wheeler2-Dec-21 6:42 
GeneralRe: Embarassment at work today Pin
PIEBALDconsult2-Dec-21 6:45
mvePIEBALDconsult2-Dec-21 6:45 
GeneralRe: Embarassment at work today Pin
Gary Wheeler2-Dec-21 6:55
Gary Wheeler2-Dec-21 6:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.