Search found 506 matches

by Jarhmander
Thu Oct 01, 2020 6:32 pm
Forum: NES Hardware and Flash Equipment
Topic: Eccentric pedantic "monochrome" glitch
Replies: 15
Views: 3203

Re: Eccentric pedantic "monochrome" glitch

Huh? How it can be 17/24? I count 6 falling edges when M2 falls. And M2 changes *only* on falling edges of the master clock... For the duty cycle to be 17/24, M2 would have to change state on a raising and falling edges, wouldn't it? And sadly, I can't decipher die photographs (yet?), so I can't see...
by Jarhmander
Thu Oct 01, 2020 4:32 am
Forum: NES Hardware and Flash Equipment
Topic: Eccentric pedantic "monochrome" glitch
Replies: 15
Views: 3203

Re: Eccentric pedantic "monochrome" glitch

lidnariq wrote:
Wed Sep 30, 2020 3:59 pm
(Also: does anyone have a 2A03letterless and can test what the actual duty cycle of M2 is? It's not 3/4.)
Long ago, I took that measure and yes, it's ¾. Not the best measurements in the world, but it can clearly be seen.
by Jarhmander
Sun Sep 06, 2020 6:12 am
Forum: phpBB Issues
Topic: Preview after submitting posts?
Replies: 7
Views: 1322

Re: Preview after submitting posts?

Reproduced the preview thing. I just basically spam-clicked the "Submit" button, and saw my useless post in the preview. That's bad, it looks like the "submit" button just sends the post text and the server software either can't know if it has already processed the post, or just ignore/don't care th...
by Jarhmander
Sun Sep 06, 2020 6:00 am
Forum: phpBB Issues
Topic: Preview after submitting posts?
Replies: 7
Views: 1322

Re: Preview after submitting posts?

(testing double submit, ignore this/these post(s))
by Jarhmander
Fri Aug 21, 2020 6:32 pm
Forum: General Stuff
Topic: Strategies for implementing macro functionality in assemblers
Replies: 18
Views: 4414

Re: Strategies for implementing macro functionality in assemblers

It is "third". A C preprocessor just expands until 1) there's nothing left to expand, or 2) while expanding, it encounters a macro that was already expanded before (in the same expansion context), and let it as it is, to prevent any recursion. That means #define foo bar, baz #define bar foo, bar "fo...
by Jarhmander
Fri Aug 21, 2020 8:30 am
Forum: General Stuff
Topic: Strategies for implementing macro functionality in assemblers
Replies: 18
Views: 4414

Re: Strategies for implementing macro functionality in assemblers

the string substitution, just stack alloc the temp buffer, that should easily handle every thing a sane person would through at a 6502 assembler. So make a large buffer, then start from the back and expand as you need to doing find replaces. Keep the src and convert one into the buffer going forwar...
by Jarhmander
Thu Aug 20, 2020 2:46 pm
Forum: General Stuff
Topic: Strategies for implementing macro functionality in assemblers
Replies: 18
Views: 4414

Re: Strategies for implementing macro functionality in assemblers

You seem to worry too much about optimizations at this time; even worse, you're worrying about how to manage memory down to the macro-handling code. Your time will be much better spent on how to structure things and separate concerns. Strings, for instance, are best managed in objects with a minimal...
by Jarhmander
Wed Aug 19, 2020 4:39 am
Forum: NESdev
Topic: Questions about NES programming and architecture
Replies: 143
Views: 20449

Re: Questions about NES programming and architecture

Controllerhead wrote:
Tue Aug 18, 2020 7:39 pm
Image
Image
by Jarhmander
Sun Aug 02, 2020 6:29 am
Forum: General Stuff
Topic: Making "Good" Assembly Code
Replies: 73
Views: 16118

Re: Making "Good" Assembly Code

Two pages ago, someone asked for a CPU with a math-like syntax (or C-style syntax), instead of a "COBOL" like syntax (oops, mixing things up with the other thread). Here it is, my friends: CSR's Kalimba processor . Just look at the assembly code, it really looks like C at times. Not too surprisingly...
by Jarhmander
Wed Jul 22, 2020 4:28 am
Forum: Reproduction
Topic: Nothing left
Replies: 12
Views: 3549

Re: Giving up sale

That's a bummer. I hope you get better.

You have some fine stuff, but I'm in Canada.
by Jarhmander
Wed Jul 22, 2020 4:17 am
Forum: Reproduction
Topic: Nothing left
Replies: 12
Views: 3549

Re: Giving up sale

What's up, dude? Your health problems aren't too serious, are they?
by Jarhmander
Fri Jul 03, 2020 6:11 am
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 883
Views: 415770

Re: Mesen - NES Emulator

I've been having problems with clang builds being crashy. Extra crashy if compiled with -O3, or pgo, but still crashy (and slower than real-time) even at -O0. Mostly in the debugger. A gcc build seems ok. Since this sounds like "compiler bug" I don't even think you're the right person to mention th...
by Jarhmander
Thu Jun 25, 2020 4:51 am
Forum: NESdev
Topic: VBCC Optimizing C-compiler now supports NES
Replies: 164
Views: 37637

Re: VBCC Optimizing C-compiler now supports NES

Wait, two C compilers released less than a week apart? What's this, the year of the C compilers? That being said, that's awesome.

I know some members here would like to see some code examples, like what the equivalent of a hand coded memcpy in C looks like in assembly once compiled.
by Jarhmander
Tue Jun 16, 2020 8:18 am
Forum: Newbie Help Center
Topic: Hello, I'm back, still need assistences
Replies: 99
Views: 15958

Re: Hello, I'm back, still need assistences

I can't agree more with this. Programming is something you learn by doing it. It really helps when you have some environnement where you can freely experiment and do things that works or that crashes and burns — both are valuable experience. Back in college, I learned assembly (self-taught) on PIC m...