Search found 13 matches
- Sat Mar 02, 2019 7:56 am
- Forum: Newbie Help Center
- Topic: A few quick programming questions
- Replies: 3
- Views: 7270
Re: A few quick programming questions
Thank you very much for the clarifications.
- Sat Mar 02, 2019 7:09 am
- Forum: Newbie Help Center
- Topic: A few quick programming questions
- Replies: 3
- Views: 7270
A few quick programming questions
Hi, I'm trying to plan out some stuff for my game but I'm away from my computer this weekend so I'm doing pseudo-code on paper for now. I've got a couple of quick questions about certain opcodes that I don't 100% understand after reading the opcode reference docs. TXS & TSX: Do these function th...
- Thu Feb 21, 2019 1:31 pm
- Forum: Newbie Help Center
- Topic: What came first the chicken or the egg? (Updating v Drawing)
- Replies: 7
- Views: 6153
Re: What came first the chicken or the egg? (Updating v Draw
Thanks for the input everyone. I'll try to start reorganizing things in the program. The only way I can think about it that makes sense to me is that the game state has to be determined first, and then the NMI updates the PPU and APU based on the game state. Thinking about it the other way around ju...
- Wed Feb 20, 2019 3:05 pm
- Forum: Newbie Help Center
- Topic: What came first the chicken or the egg? (Updating v Drawing)
- Replies: 7
- Views: 6153
What came first the chicken or the egg? (Updating v Drawing)
I'm wondering what the pro's and con's of two ways of approaching updating and drawing are, or if it even makes a difference. Right now I'm doing: NMI sets a 'need to update' flag to TRUE for game logic to update -> MAIN updates game logic if flag is TRUE -> MAIN sets flag false when it's done updat...
- Sun Feb 10, 2019 9:31 pm
- Forum: Newbie Help Center
- Topic: Help needed with first entity list
- Replies: 4
- Views: 4878
Re: Help needed with first entity list
Thank you very much! That fixed the problem. Now that I know how it works I'll try and rebuild it how you suggest in option #2.
- Sun Feb 10, 2019 7:11 pm
- Forum: Newbie Help Center
- Topic: Help needed with first entity list
- Replies: 4
- Views: 4878
Help needed with first entity list
I'm trying to learn how to make entity lists and for now I'm starting with a projectile list for Player 1. My projectiles worked fine when everything was just hardcoded and static but that's a bad way of actually making something functional so I wanted to learn how to do it 'properly'. The problem I...
- Mon Jan 21, 2019 10:34 am
- Forum: Newbie Help Center
- Topic: ASM6 - JSR's not doing anything
- Replies: 13
- Views: 7543
Re: ASM6 - JSR's not doing anything
What happens if the NMI handler is called while something is using register A? I don't think NMI would get called during those subroutines. Near the start of the code at the RESET vector it's turning NMI and rendering off before doing any of my subroutines. Register A isn't getting used at all befo...
- Mon Jan 21, 2019 9:57 am
- Forum: Newbie Help Center
- Topic: ASM6 - JSR's not doing anything
- Replies: 13
- Views: 7543
ASM6 - JSR's not doing anything
So I'm going through the Nerdy Nights tutorials (the version for ASM6) and I was trying to move parts of my code into subroutines to make things cleaner, easier to read, and a little more object oriented. For some reason the subroutines don't execute, but if I manually put my code where the JSR call...
- Tue Jan 04, 2011 2:39 pm
- Forum: NES Graphics
- Topic: How do I shot RPG graphics?
- Replies: 16
- Views: 15172
It's coming together pretty well, but things still look too similar. Check out this tutorial site (peek at chapter 3 and 4 specifically). Also the shading seems uneven. Try and think of where your light source is coming from and try and texture everything with that in mind. For example: The houses l...
- Mon Jan 03, 2011 6:57 pm
- Forum: Newbie Help Center
- Topic: NESASM Macro Help
- Replies: 6
- Views: 3759
- Mon Jan 03, 2011 11:48 am
- Forum: Newbie Help Center
- Topic: NESASM Macro Help
- Replies: 6
- Views: 3759
I tried quite a few things (including that) which unfortunately haven't worked (I get an Unkown instruction error when compiling). I tried separating the params with a few different characters, putting all the params in both round and square brackets (with and without separators). I also tried doing...
- Mon Jan 03, 2011 8:37 am
- Forum: Newbie Help Center
- Topic: NESASM Macro Help
- Replies: 6
- Views: 3759
Cool thanks, that helped set them up. I wasn't able to use the macro I made however. How do you 'call' the macro and pass it's parameters in? I was trying the following but it doesn't like it.
Code: Select all
MyMacro #$FF $1234
MyMacro .macro
LDA \1
STA TestVar1
LDA #$00
STA \2
.endm- Sun Jan 02, 2011 10:03 pm
- Forum: Newbie Help Center
- Topic: NESASM Macro Help
- Replies: 6
- Views: 3759
NESASM Macro Help
I can't figure out the syntax for defining or using a Macro in NESASM.
(Using the latest NESASM3.exe)
Cheers
(Using the latest NESASM3.exe)
Cheers