Search found 9 matches

by 0x7c00
Sat Aug 15, 2009 10:19 pm
Forum: NESdev
Topic: $8000 and $C000
Replies: 17
Views: 8641

Here is my nesasm code: .inesprg 1 .ineschr 0 .inesmap 0 .inesmir 0 .bank 0 .org $8000 RESET: lda #%10000000 sta $2001 FOREVER: jmp FOREVER .bank 1 .org $FFFA .dw 0 .dw RESET .dw 0 In Nestopia there is nothing, however in fceux, it gets its function(display blue)...Nowadays I'm confusing about the d...
by 0x7c00
Sat Aug 15, 2009 8:03 pm
Forum: NESdev
Topic: $8000 and $C000
Replies: 17
Views: 8641

But I don't think it's ca65's mistake. I mean the problem showed up in different emulator environment. The emulator provides a virtual environment to run nes, as far I know, there is not a standard for all developers who work on emulator. So I think the different may be a common question.
by 0x7c00
Sat Aug 15, 2009 6:03 pm
Forum: NESdev
Topic: $8000 and $C000
Replies: 17
Views: 8641

Nestopia is OK.
nesasm is the only universe way?
by 0x7c00
Sat Aug 15, 2009 5:41 pm
Forum: NESdev
Topic: $8000 and $C000
Replies: 17
Views: 8641

Ah...Say I use most simple code here: #include <conio.h> void main() { clrscr(); gotoxy(10,10); cprintf("Hello, world"); while(1); } When it was compiled, I dragged the nes file to FCEUX, but nothing happen. However, when I use fceu dsp , "Hello, world" came out. That mean differ...
by 0x7c00
Fri Aug 14, 2009 6:35 pm
Forum: NESdev
Topic: rNES - a NES library for cc65 - version 0.1 released
Replies: 67
Views: 47593

The demo nes run out nothing in FCEUX 2.1
What's wrong?
by 0x7c00
Fri Aug 14, 2009 6:31 pm
Forum: NESdev
Topic: $8000 and $C000
Replies: 17
Views: 8641

Thank you. May I ask things about cc65?
by 0x7c00
Fri Aug 14, 2009 7:59 am
Forum: NESdev
Topic: $8000 and $C000
Replies: 17
Views: 8641

This stuff all depends on the memory map. If you have a 16K PRG game, it will be mirrored across the full 32K ROM address space. If you have a 32K PRG game, it will fill the entire 32K ROM address space. If you have a bigger ROM which requires bankswitching, it depends on the mapper. Most mappers w...
by 0x7c00
Fri Aug 14, 2009 7:52 am
Forum: NESdev
Topic: $8000 and $C000
Replies: 17
Views: 8641

one iNES bank or two NESASM banks Oh, this can explain why in NESASM codes' head there always be a declaration: .inesprg 1 Is it mean that "I am declaring a iNES file format" so even NESASM need two banks, the coder should write like that( .inesprg 1)? But the next line .ineschr 1 show 1 ...
by 0x7c00
Fri Aug 14, 2009 1:24 am
Forum: NESdev
Topic: $8000 and $C000
Replies: 17
Views: 8641

$8000 and $C000

I read that in the structure of NES bus Program Code begin from $8000. But I saw lots of code write : .bank 0 .org $C000 Why do this ? And when I use ".org $8000", however, using Debugger find in position $C000 my codes appear again. How can it be done? My knowledge about NES Asm is all fr...