Search found 528 matches

by Movax12
Thu May 14, 2015 1:27 pm
Forum: SNESdev
Topic: Contacting the Author of ca65?
Replies: 39
Views: 7033

Re: Contacting the Author of ca65?

thefox wrote:Maybe that's not always the case?
I guess that is possible, in which case, use my macro! I don't use .res myself so the only thing I need to worry about not being constant are imported symbols.
by Movax12
Thu May 14, 2015 1:05 pm
Forum: SNESdev
Topic: Contacting the Author of ca65?
Replies: 39
Views: 7033

Re: Contacting the Author of ca65?

While I appreciate your use of my macro code, I don't think I would use it there myself. Of course it will work, but you could use a numeric variable . I would maybe do this: ; assume we are in global scope ; include the macro and initial definition of dp together: .scope dp_scope dp .set 0 .endscop...
by Movax12
Mon May 11, 2015 9:31 am
Forum: NESdev
Topic: Rebuilding Super Mario Bros. piece by piece
Replies: 26
Views: 5393

Re: Rebuilding Super Mario Bros. piece by piece

Bregalad wrote: I don't know how cloning every subroutine ones after eachother would not make a copyright infigement.
See clean room link I posted above. As a classic example see this section on Compaq: http://en.wikipedia.org/wiki/Compaq_Portable#Software
by Movax12
Mon May 11, 2015 5:41 am
Forum: NESdev
Topic: Rebuilding Super Mario Bros. piece by piece
Replies: 26
Views: 5393

Re: Rebuilding Super Mario Bros. piece by piece

It's time consuming, but simple enough to have someone convert each routine into pseudo code with some description of what the routine does and give that to another person to code. http://en.wikipedia.org/wiki/Clean_room_design The person writing the code should be someone that has never looked at t...
by Movax12
Tue May 05, 2015 3:03 am
Forum: SNESdev
Topic: SNES Emulator SE devkit
Replies: 16
Views: 7491

Re: SNES Emulator SE devkit

LOL

Image
by Movax12
Sat May 02, 2015 5:39 pm
Forum: Newbie Help Center
Topic: good dasm documentation?
Replies: 9
Views: 5374

Re: good dasm documentation?

There are a number of members here that use asm6 and ca65 and maybe a few that use NESASM.
You would probably be able to find help if you choose one of them.

See: viewtopic.php?f=2&t=7274
by Movax12
Sat May 02, 2015 2:42 pm
Forum: NESdev
Topic: Tokumaru's PC saving trick
Replies: 26
Views: 5775

Re: Tokumaru's PC saving trick

If you don't need to access the stack during your object evaluation (though you could switch to the regular stack): ObjStatePtr1 = $0100 ObjStatePtr2 = $0102 ObjStatePtr3 = $0104 ObjDone = $0106 .proc Init ; init pointers pseudo code: (I'm not writing the Asm for this) ; set ObjStatePtr1 = Object1_S...
by Movax12
Sat May 02, 2015 4:37 am
Forum: Newbie Help Center
Topic: good dasm documentation?
Replies: 9
Views: 5374

Re: good dasm documentation?

The link in your second post has information on how to use NESASM. The real question is why would you want to use dasm when there are better options available? Either asm6 or ca65 would be a good choice. (DASM is an actual assembler application. Sounds like you are just looking for information on as...
by Movax12
Sat May 02, 2015 2:20 am
Forum: SNESdev
Topic: What is the purpuse of CLC and SEC?
Replies: 18
Views: 7790

Re: What is the purpuse of CLC and SEC?

I feel the stack on 6502 is really only useful for saving/setting the PC, as in JSR and RTS, or the using the RTS trick if needed. If you need to make a routine or library that doesn't use RAM then it is good for saving registers temporarily, but in that case, setting aside 3 bytes in zeropage for s...
by Movax12
Fri Apr 24, 2015 3:48 am
Forum: Newbie Help Center
Topic: VRAM buffer?
Replies: 3
Views: 1802

Re: VRAM buffer?

My current fastest VRAM update code that doesn't use the stack page (which is a good solution) or huge amounts of ROM: It is partially unrolled, and does use a lot more space than slower versions of the same thing. This is almost exactly the same format that Nintendo used in a lot of games. I modifi...
by Movax12
Tue Apr 21, 2015 7:35 pm
Forum: Newbie Help Center
Topic: Recommendations for testing 6502 core?
Replies: 3
Views: 1460

Re: Recommendations for testing 6502 core?

nestest.asm I think, but I got the feeling it was NES specific rather than just 6502. In a perfect world I would find something that's geared towards NES emulation, but only tests the 6502 core itself. From the documentation: This test program, when run on "automation", (i.e. set your program count...
by Movax12
Mon Apr 20, 2015 7:16 pm
Forum: General Stuff
Topic: Retro VGS console
Replies: 48
Views: 7714

Re: Retro VGS console

consoles = constant 60fps PCs = any random framerate it feels like This is a nonsensical statement. We all know that consoles sometimes can't keep up: http://forums.nesdev.com/viewtopic.php?f=2&t=11040 Or have purposely been programmed to run at a lower framerate: http://forums.nesdev.com/viewtopic...
by Movax12
Mon Apr 20, 2015 6:13 pm
Forum: General Stuff
Topic: Retro VGS console
Replies: 48
Views: 7714

Re: Retro VGS console

You can play retro-like games on your home console too. Example: Axiom Verge
Why do I need a weird 'retro' machine to play retro?
by Movax12
Mon Apr 20, 2015 3:40 pm
Forum: General Stuff
Topic: Retro VGS console
Replies: 48
Views: 7714

Re: Retro VGS console

Waste of money. As much as I love retro gaming.. this is WHY? Oh, maybe it would be fun to add USB support. Maybe they could add networking and internet. Maybe some kind of flash storage. Maybe HDMI out. Maybe emulators! Maybe retro-like games with enhanced graphics including the occasional not-real...
by Movax12
Fri Apr 17, 2015 2:28 pm
Forum: Newbie Help Center
Topic: Wonky compare issue
Replies: 10
Views: 3507

Re: Wonky compare issue

BMI/BPL are really good for looping with X or Y in specific cases. (Or even a variable/memory). Using BPL, if your loop starts at 127 or less and you want to loop all the way down to 0 (inclusive) you can BPL: ; for x = 127 to 0 ldx #127 loop: ; do stuff dex bpl loop Less common, but, if you want to...