Search found 177 matches

by albailey
Mon Feb 26, 2007 7:21 am
Forum: Newbie Help Center
Topic: How do you guys debug your code
Replies: 24
Views: 7072

Whats interesting about the direction this thread took, is that its relevant to a debugging problem I encoutnered this weekend (and fixed). I use CA65 and had some subroutines something like this foo: ... do some stuff... bne :+ ... do some more stuff... : rts bar: ... do some stuff... bne :- ... do...
by albailey
Wed Feb 21, 2007 12:19 pm
Forum: Newbie Help Center
Topic: Should I use NMI even though my stuff works without using it
Replies: 14
Views: 4383

Should I use NMI even though my stuff works without using it

My game is a simple NROM puzzle game. The only scrolling is when I transition from the title screen, to the puzzle screen. I wait for VBLANK, then scroll a bit, (looping until its all in). Then I go to my game loop which: waits for VBLANK polls for input does updates repeat... Everything I've done s...
by albailey
Mon Feb 19, 2007 11:15 am
Forum: Newbie Help Center
Topic: How do you guys debug your code
Replies: 24
Views: 7072

For the $2002 trick you mentionned, either double-click on the next instruction, forcing the CPU to jump there (knowing the emulation won't be accurate for timing any longer), or use a breakpoint on the next instruction's adress (wich is accurate, but happens to be annoying, since you'll usually ha...
by albailey
Mon Feb 19, 2007 8:07 am
Forum: Newbie Help Center
Topic: How do you guys debug your code
Replies: 24
Views: 7072

How do you guys debug your code

This is a question about 6502 code written to run on the NES (and its emulators). I'm wondering how you guys debug your 6502 code. What tools and/or techniques you use. Personally, when I write a snippet of 6502 and I am not sure if I've done it right, I double check it in 6502 simulator, then add i...
by albailey
Fri Feb 16, 2007 11:34 am
Forum: Newbie Help Center
Topic: subtracting numbers
Replies: 5
Views: 2296

Any time I try out new assembly, I use 6502 simulator

http://home.pacbell.net/michal_k/6502.html

When I drop in your code (and use labels) it seems to work fine.

Al
by albailey
Mon Feb 05, 2007 11:45 am
Forum: NES Hardware and Flash Equipment
Topic: anyone want to test my 27c020 eproms?
Replies: 26
Views: 7573

I know that my Willem (Dual powered) wont program my PM29F002 Flash chips. (which is the same size as what you are trying, just a different setup) The response on willem board was that I must have a bad chip. I tried a dozen chips and none of em worked so I'm more inclined to blame the programmer o...
by albailey
Mon Feb 05, 2007 8:41 am
Forum: NES Hardware and Flash Equipment
Topic: anyone want to test my 27c020 eproms?
Replies: 26
Views: 7573

I know that my Willem (Dual powered) wont program my PM29F002 Flash chips. (which is the same size as what you are trying, just a different setup) The response on willem board was that I must have a bad chip. I tried a dozen chips and none of em worked so I'm more inclined to blame the programmer or...
by albailey
Fri Dec 15, 2006 7:56 am
Forum: NESemdev
Topic: nes emulator
Replies: 20
Views: 13015

Having never written an emulator, I cant help with that. But I might be able to help a little. The NES file (I'll assume its .ines format) has a 16 byte header, some 8K CHR banks and some 16K PRG banks (and maybe some junk at the end) Remember its binary so you need to open the file in binary mode. ...
by albailey
Mon Nov 20, 2006 11:59 am
Forum: Newbie Help Center
Topic: Stupid battery question
Replies: 14
Views: 4791

Has anyone here tried using a coin cell battery holder?
If so, which one? Any gotchas (like height)?

Al
by albailey
Wed Nov 15, 2006 9:36 am
Forum: Newbie Help Center
Topic: Where do I start?
Replies: 9
Views: 4734

I like the info posted by Cooper. As a newbie myself, it might also be helpful to let you know what NOT to do. You probably dont want to use nesbasic as a programming language. For that matter, you probably dont want C (as in cc65. You will want its assembler though). 6502 assembly language is what ...
by albailey
Tue Nov 14, 2006 12:35 pm
Forum: Membler Industries
Topic: Coolest mapper feature for a devcart
Replies: 69
Views: 91515

I voted for the advanced discrete logic (for accessing larger amounts of memory).
But thats probably because I'm still pretty new to coding on the NES and I haven't tried any advanced things yet. I'm still mainly just concerned with memory.

Al
by albailey
Thu Oct 12, 2006 1:38 pm
Forum: Newbie Help Center
Topic: Please help me make my first reproduction cart
Replies: 8
Views: 4518

Zelda is on a SNROM PCB. Its PRG is only 28 pins, but there should be 4 extra holes (filled with solder) where a 32 pin PRG would fit. Just solder suck out the extra 4 holes and you will be putting a 32 pin chip in 32 holes. Be sure to follow Memblers advice on that page (and use a 128 KB chip like ...