mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-06-16 12:29:28 +00:00
nes: updated memory map
This commit is contained in:
parent
e7e5ea7847
commit
30db34837c
|
@ -187,5 +187,5 @@ end
|
||||||
|
|
||||||
Slice PNGs into sprites
|
Slice PNGs into sprites
|
||||||
Maybe output decoder text
|
Maybe output decoder text
|
||||||
|
|
||||||
Action priorities - before, after
|
Action priorities - before, after
|
||||||
|
Generate C symbols
|
||||||
|
|
|
@ -175,6 +175,12 @@ export class AssetEditorView implements ProjectView, pixed.EditorContext {
|
||||||
var meta = {defs:metadefs,width:width*8,height:height*8};
|
var meta = {defs:metadefs,width:width*8,height:height*8};
|
||||||
result.push({fileid:id,label:ident,meta:meta});
|
result.push({fileid:id,label:ident,meta:meta});
|
||||||
}
|
}
|
||||||
|
// TODO: look for decode <ident> --- ... ---
|
||||||
|
/*
|
||||||
|
var re3 = /\bdecode\s+(\w+)\s*---(.+?)---/gims;
|
||||||
|
while (m = re3.exec(data)) {
|
||||||
|
}
|
||||||
|
*/
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -475,11 +475,12 @@ class JSNESPlatform extends Base6502Platform implements Platform, Probeable {
|
||||||
}
|
}
|
||||||
|
|
||||||
getMemoryMap = function() { return { main:[
|
getMemoryMap = function() { return { main:[
|
||||||
//{name:'Work RAM',start:0x0,size:0x800,type:'ram'},
|
{name:'Zero Page RAM',start:0x0,size:0x100,type:'ram'},
|
||||||
{name:'OAM Buffer',start:0x200,size:0x100,type:'ram'},
|
{name:'OAM Buffer',start:0x200,size:0x100,type:'ram'},
|
||||||
|
{name:'Work RAM',start:0x300,size:0x1000-0x300,type:'ram'},
|
||||||
{name:'PPU Registers',start:0x2000,last:0x2008,size:0x2000,type:'io'},
|
{name:'PPU Registers',start:0x2000,last:0x2008,size:0x2000,type:'io'},
|
||||||
{name:'APU Registers',start:0x4000,last:0x4020,size:0x2000,type:'io'},
|
{name:'APU Registers',start:0x4000,last:0x4020,size:0x2000,type:'io'},
|
||||||
{name:'Cartridge RAM',start:0x6000,size:0x2000,type:'ram'},
|
{name:'Optional Cartridge RAM',start:0x6000,size:0x2000,type:'ram'},
|
||||||
] } };
|
] } };
|
||||||
|
|
||||||
showHelp(tool:string, ident:string) {
|
showHelp(tool:string, ident:string) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user