Search found 311 matches
- Wed Feb 04, 2009 8:34 pm
- Forum: NESdev
- Topic: rNES - a NES library for cc65 - version 0.1 released
- Replies: 67
- Views: 47593
EDIT2 -- Here's where I read that about interrupts... in the FAQ of all places. http://www.cc65.org/faq.php#IntHandlers Well, there. In other words, Interrupt handling in C is a pain in the ass. I don't even know if all that values stacking and all won't render the interrupt handling unusable. As f...
- Wed Feb 04, 2009 8:19 pm
- Forum: NESdev
- Topic: rNES - a NES library for cc65 - version 0.1 released
- Replies: 67
- Views: 47593
However I think with a lib, it could be done in C if you can provide a callback (in the form of a function pointer) which the library could call from its NMI handler. The library itself might have to have a touch of 6502 to make it work, but the end user won't need to. Thanks, I'll note this down a...
- Wed Feb 04, 2009 7:30 pm
- Forum: NESdev
- Topic: Pong (it scores now so I can show it off)
- Replies: 6
- Views: 4494
- Wed Feb 04, 2009 7:19 pm
- Forum: NESdev
- Topic: rNES - a NES library for cc65 - version 0.1 released
- Replies: 67
- Views: 47593
- Wed Feb 04, 2009 7:08 pm
- Forum: General Stuff
- Topic: Spanish speakers / Hispanoparlantes
- Replies: 25
- Views: 8328
Well I don't know exactly if England was considered part of the empire, or just was under its influence, but for example, London was founded as "Londinium" by the Romans.
http://en.wikipedia.org/wiki/Roman_London
It's amazing how much history you learn reading Asterix.
http://en.wikipedia.org/wiki/Roman_London
It's amazing how much history you learn reading Asterix.
- Wed Feb 04, 2009 7:03 pm
- Forum: NESdev
- Topic: rNES - a NES library for cc65 - version 0.1 released
- Replies: 67
- Views: 47593
Well, this is a library, so the programmer could choose to use its functions or code their own. For some reason, the NES, appart from firing the NMI each vblank, sets $2002.7, it's there for you to read it, if you want, so my library makes it available with a macro. I might as well remove rNES_waitv...
- Wed Feb 04, 2009 3:59 pm
- Forum: NESdev
- Topic: rNES - a NES library for cc65 - version 0.1 released
- Replies: 67
- Views: 47593
I agree with Blargg. waitvblank() should wait for the start of vblank[...] So what happens if animate_and_draw_sprite() and update_joy() are shorter than the VBlank period? This would result in rNES_waitvblank returning immediately rather than waiting for the next frame, which would disrupt the 60 ...
- Wed Feb 04, 2009 3:18 pm
- Forum: General Stuff
- Topic: Spanish speakers / Hispanoparlantes
- Replies: 25
- Views: 8328
- Wed Feb 04, 2009 6:12 am
- Forum: NESdev
- Topic: rNES - a NES library for cc65 - version 0.1 released
- Replies: 67
- Views: 47593
- Tue Feb 03, 2009 7:41 pm
- Forum: NESdev
- Topic: rNES - a NES library for cc65 - version 0.1 released
- Replies: 67
- Views: 47593
- Tue Feb 03, 2009 7:35 pm
- Forum: General Stuff
- Topic: Spanish speakers / Hispanoparlantes
- Replies: 25
- Views: 8328
- Tue Feb 03, 2009 7:12 pm
- Forum: NESdev
- Topic: rNES - a NES library for cc65 - version 0.1 released
- Replies: 67
- Views: 47593
- Tue Feb 03, 2009 11:42 am
- Forum: NESdev
- Topic: rNES - a NES library for cc65 - version 0.1 released
- Replies: 67
- Views: 47593
- Tue Feb 03, 2009 11:41 am
- Forum: General Stuff
- Topic: Is there an emulator of a non-existent system?
- Replies: 21
- Views: 8471
- Tue Feb 03, 2009 8:18 am
- Forum: NESdev
- Topic: rNES - a NES library for cc65 - version 0.1 released
- Replies: 67
- Views: 47593
Some things that I noticed: - rNES_get_joy: both controllers are strobed by $4016; $4017 controls the APU. Also, you could accept the joypad selector as an enumeration, for better type-safety. But it makes more sense to me to select it as an index, 0 or 1. ooops, never actually tested 2nd controlle...