Search found 375 matches
- Tue May 31, 2016 12:22 pm
- Forum: SNESdev
- Topic: Note to all WLA-DX users: change in argv parser
- Replies: 17
- Views: 7743
Re: Note to all WLA-DX users: change in argv parser
Why didn't you use standard getopt_long? That's native nix style, and it accepts both forms, with or without space, so it wouldn't have broken anything. I always cringe when people re-implement this particular wheel, it's a huge block of code for little reason :P As far as I can tell, getopt_long i...
- Tue May 31, 2016 4:30 am
- Forum: SNESdev
- Topic: Note to all WLA-DX users: change in argv parser
- Replies: 17
- Views: 7743
Note to all WLA-DX users: change in argv parser
If you look at the newest version on GitHub, WLA's command line argument parser has been changed to be much closer to *nix style. This: wla-6502 -Dpizza="good" -L../ -vio bla.s bla.o Has become: wla-6502 -D pizza="good" -L ../ -v -i -o bla.o bla.s The same goes for wlalink. If y...
- Tue May 24, 2016 5:30 pm
- Forum: SNESdev
- Topic: higan CPU emulation mode bug? (attn: byuu or any 65816 guru)
- Replies: 137
- Views: 39602
Re: higan CPU emulation mode bug? (attn: byuu or any 65816 g
Search feature says 3 pages of posts by him with "wonder whether". Let's make it 4!Ramsis wrote:This is it. I hereby officially start a "tepples wonders whether" counter.tepples wrote:I wonder whether
- Mon May 23, 2016 4:59 am
- Forum: General Stuff
- Topic: Anyone else _not_ have an SNES growing up?
- Replies: 33
- Views: 7097
Re: Anyone else _not_ have an SNES growing up?
I got to play my oldest brother's old SNES growing up. He also introduced me to emulators; I have memories of him using ZSNES when I was 5. He never got involved in the dev scene, though, that's just me.
- Sat May 21, 2016 9:36 pm
- Forum: General Stuff
- Topic: Odd feeling I get programming
- Replies: 27
- Views: 8366
Re: Odd feeling I get programming
When something just works for me when coding, either luck finally found me or things are about to go horribly wrong. Probably the second one. I usually get caught up into organizing my code for stylistic reasons so much that all I ever change is how things look and maybe the order of how the game do...
- Thu May 19, 2016 6:05 pm
- Forum: Other Retro Dev
- Topic: ARM Assembler Question
- Replies: 19
- Views: 11083
Re: ARM Assembler Question
Um...does anyone have any idea why lr might magically turn into pc in a subroutine? Because I have a problem where my subroutines will randomly turn into a bx lr loop sometimes, and I can't figure things out at all. Not sure what other information to provide. Update, I figured this one out on my ow...
- Thu May 19, 2016 5:46 pm
- Forum: Other Retro Dev
- Topic: ARM Assembler Question
- Replies: 19
- Views: 11083
Re: ARM Assembler Question
Um...does anyone have any idea why lr might magically turn into pc in a subroutine? Because I have a problem where my subroutines will randomly turn into a bx lr loop sometimes, and I can't figure things out at all. Not sure what other information to provide.
- Mon May 16, 2016 6:11 pm
- Forum: Other Retro Dev
- Topic: ARM Assembler Question
- Replies: 19
- Views: 11083
Re: ARM Assembler Question
More to the point, if you try to prevent the compiler and/or assembler from using a literal pool, you're going to be fighting it the whole way. Yeah, I'm not really trying to get the compiler to be evasive with that type of thing. If libnds functions will run like that, then I never have to look at...
- Mon May 16, 2016 5:59 pm
- Forum: Other Retro Dev
- Topic: ARM Assembler Question
- Replies: 19
- Views: 11083
Re: ARM Assembler Question
Oh! So the "double-pointers" take up less space and are faster then? Okay, I had it all backwards.
Is using immediate addressing that much of a slow-down, though, if at all? Because having to have a section of code just for pointers is not ideal.
Is using immediate addressing that much of a slow-down, though, if at all? Because having to have a section of code just for pointers is not ideal.
- Mon May 16, 2016 4:42 pm
- Forum: Other Retro Dev
- Topic: ARM Assembler Question
- Replies: 19
- Views: 11083
Re: ARM Assembler Question
Confusion ensues.
Would this be an immediate operand? Because it loads a 32-bit number and assembles just fine: ldr r3, =0xffffffffAn immediate operand is limited to 8 bits but can be shifted, but pointers are 32 bits.
- Mon May 16, 2016 4:24 pm
- Forum: Other Retro Dev
- Topic: ARM Assembler Question
- Replies: 19
- Views: 11083
ARM Assembler Question
(Assuming the Nintendo DS is "obsolete" so this thread can be in Other Retro Dev, move if need be). I wanted to check out ARM assembly language, but don't have any money for a Raspberry Pi (my preferred method), so I decided to go with the Nintendo DS using libnds. ARM makes sense to some ...
- Sat May 14, 2016 5:22 pm
- Forum: Homebrew Projects
- Topic: Assets for the Nesdev Compo 2016
- Replies: 27
- Views: 20302
Re: Assets for the Nesdev Compo 2016
I'm assuming this can (kinda?) be like a question thread, so...this question is half curiosity, half wanting to showcase what code I'm working on (visuals are an unwritten story right now). I'm designing my comp entry to work with "objects". These objects are just used for characters: the ...
- Mon May 09, 2016 12:03 pm
- Forum: NESdev
- Topic: asm6 + ines = asm6n
- Replies: 20
- Views: 6844
Re: asm6 + ines = asm6n
If anything, the warning should depend on the value of inesmap . For mappers commonly used with CHR RAM, it should not warn for a missing ineschr except in verbose mode, in which case it may warn "assuming CHR RAM". And for mappers that control mirroring, it should not warn for a missing ...
- Mon May 09, 2016 6:40 am
- Forum: NESdev
- Topic: asm6 + ines = asm6n
- Replies: 20
- Views: 6844
Re: asm6 + ines = asm6n
There should be defaults for each of the respective pseudo-ops as well (the default values should be documented), so that you could literally have a program that just says .inesprg 1 (with no other .inesXXX directives) and gets you a .NES ROM. This is already true; the directives default to 0. The ...
- Mon May 09, 2016 5:59 am
- Forum: NESdev
- Topic: asm6 + ines = asm6n
- Replies: 20
- Views: 6844
Re: asm6 + ines = asm6n
"FDS", 0x1A, a byte for disk sides and a bunch of zeroes to make it even? Sounds simple enough.B00daW wrote:The potential for NSF(2) and FDS headers could be interesting as well.
The NSF header is a lot more complicated, though; I think I'll do iNES 2 first.