2012-02-06 12:03:45 +00:00
|
|
|
struct ConsoleWindow : Window {
|
|
|
|
Menu menuEmulation;
|
|
|
|
Item menuEmulationReloadCartridge;
|
|
|
|
Item menuEmulationPowerCycle;
|
|
|
|
Item menuEmulationReset;
|
|
|
|
Separator menuEmulationSeparator;
|
|
|
|
CheckItem menuEmulationSynchronizeAudio;
|
|
|
|
CheckItem menuEmulationMuteAudio;
|
|
|
|
|
2012-02-09 12:53:55 +00:00
|
|
|
Menu menuDebug;
|
|
|
|
CheckItem menuDebugCPU;
|
|
|
|
CheckItem menuDebugSMP;
|
|
|
|
|
|
|
|
Menu menuTracer;
|
|
|
|
CheckItem menuTracerEnable;
|
|
|
|
CheckItem menuTracerMask;
|
|
|
|
Item menuTracerMaskReset;
|
|
|
|
|
2012-02-06 12:03:45 +00:00
|
|
|
Menu menuWindows;
|
2012-02-09 12:53:55 +00:00
|
|
|
Item menuWindowsVideoWindow;
|
Update to v085r08 release.
byuu says:
Changelog:
- follow the Laevateinn topic to get most of it
- also added NMI, IRQ step buttons to CPU debugger
- also added trace masking + trace mask reset
- also added memory export
- cartridge loading is entirely folder-based now
FitzRoy, I'll go ahead and make a second compromise with you for v086:
I'll match the following:
/path/to/SNES.sfc/*.sfc
/path/to/NES.fc/*.prg, *.chr (split format)
/path/to/NES.fc/*.fc (merged format)
/path/to/GB.gb/*.gb
/path/to/GBC.gbc/*.gbc
Condition will be that there can only be one of each file. If there's
more than one, it'll abort. That lets me name my ROMs as
"Game.fc/Game.fc", and you can name yours as "Game.fc/cartridge.prg,
cartridge.chr". Or whatever you want.
We'll just go with that, see what fares out as the most popular, and
then restrict it back to that method.
The folder must have the .fc, etc extension though. That will be how we
avoid false-positive folder matches.
[Editor's note - the Laevateinn topic mentions these changes for
v085r08:
Added SMP/PPU breakpoints, SMP debugger, SMP stepping / tracing,
memory editing on APU-bus / VRAM / OAM / CGRAM, save state menu,
WRAM mirroring on breakpoints, protected MMIO memory regions
(otherwise, viewing $002100 could crash your game.)
Major missing components:
- trace mask
- trace mask clear / usage map clear
- window geometry caching / sizing improvements
- VRAM viewer
- properties viewer
- working memory export button
The rest will most likely appear after v086 is released.
]
2012-02-12 05:35:40 +00:00
|
|
|
Separator menuWindowsSeparator1;
|
2012-02-12 05:05:43 +00:00
|
|
|
Item menuWindowsCPUDebugger;
|
Update to v085r08 release.
byuu says:
Changelog:
- follow the Laevateinn topic to get most of it
- also added NMI, IRQ step buttons to CPU debugger
- also added trace masking + trace mask reset
- also added memory export
- cartridge loading is entirely folder-based now
FitzRoy, I'll go ahead and make a second compromise with you for v086:
I'll match the following:
/path/to/SNES.sfc/*.sfc
/path/to/NES.fc/*.prg, *.chr (split format)
/path/to/NES.fc/*.fc (merged format)
/path/to/GB.gb/*.gb
/path/to/GBC.gbc/*.gbc
Condition will be that there can only be one of each file. If there's
more than one, it'll abort. That lets me name my ROMs as
"Game.fc/Game.fc", and you can name yours as "Game.fc/cartridge.prg,
cartridge.chr". Or whatever you want.
We'll just go with that, see what fares out as the most popular, and
then restrict it back to that method.
The folder must have the .fc, etc extension though. That will be how we
avoid false-positive folder matches.
[Editor's note - the Laevateinn topic mentions these changes for
v085r08:
Added SMP/PPU breakpoints, SMP debugger, SMP stepping / tracing,
memory editing on APU-bus / VRAM / OAM / CGRAM, save state menu,
WRAM mirroring on breakpoints, protected MMIO memory regions
(otherwise, viewing $002100 could crash your game.)
Major missing components:
- trace mask
- trace mask clear / usage map clear
- window geometry caching / sizing improvements
- VRAM viewer
- properties viewer
- working memory export button
The rest will most likely appear after v086 is released.
]
2012-02-12 05:35:40 +00:00
|
|
|
Item menuWindowsSMPDebugger;
|
|
|
|
Separator menuWindowsSeparator2;
|
2012-02-09 12:53:55 +00:00
|
|
|
Item menuWindowsMemoryEditor;
|
|
|
|
Item menuWindowsBreakpointEditor;
|
2012-02-13 11:44:02 +00:00
|
|
|
Item menuWindowsPropertiesViewer;
|
Update to v085r09 release.
byuu says:
Added VRAM viewer (mouse over to get tile# and VRAM address), CPU+SMP
register editors, settings.cfg to cache path+sync audio+mute audio
settings (Windows Vista+ ignore my request for the default folder
because they are fucking stupid, so they always default to your home
folder. I'm going to have to recommend using a batch file to start
laevateinn there. Sorry, blame Microsoft for being fuck-ups),
geometry.cfg to remember where you placed windows and what size you made
them (a bug in Qt prevents me from making some windows fixed-size for
now, but that'll change when I can work around the Qt issue), usage map
invalidation if the ROM was modified after the usage files, that empty
line insertion thing creaothceann wanted on emulation resume, all chips
now synchronize immediately rather than just-in-time, which is important
for a debugger.
Going to postpone the properties viewer until after v086.
So this is pretty much ready for release. Please bug-test. I don't care
so much about little frills like "oh the memory editor window should
default to a little bigger", you can work around that by resizing it.
I care about things like, "VRAM write breakpoints don't work at all."
If we miss any bugs and it gets released, not the end of the world, but
you'll be waiting a while for the next release to address any missed
bugs now.
2012-02-12 09:58:04 +00:00
|
|
|
Item menuWindowsVRAMViewer;
|
2012-02-09 12:53:55 +00:00
|
|
|
|
Update to v085r08 release.
byuu says:
Changelog:
- follow the Laevateinn topic to get most of it
- also added NMI, IRQ step buttons to CPU debugger
- also added trace masking + trace mask reset
- also added memory export
- cartridge loading is entirely folder-based now
FitzRoy, I'll go ahead and make a second compromise with you for v086:
I'll match the following:
/path/to/SNES.sfc/*.sfc
/path/to/NES.fc/*.prg, *.chr (split format)
/path/to/NES.fc/*.fc (merged format)
/path/to/GB.gb/*.gb
/path/to/GBC.gbc/*.gbc
Condition will be that there can only be one of each file. If there's
more than one, it'll abort. That lets me name my ROMs as
"Game.fc/Game.fc", and you can name yours as "Game.fc/cartridge.prg,
cartridge.chr". Or whatever you want.
We'll just go with that, see what fares out as the most popular, and
then restrict it back to that method.
The folder must have the .fc, etc extension though. That will be how we
avoid false-positive folder matches.
[Editor's note - the Laevateinn topic mentions these changes for
v085r08:
Added SMP/PPU breakpoints, SMP debugger, SMP stepping / tracing,
memory editing on APU-bus / VRAM / OAM / CGRAM, save state menu,
WRAM mirroring on breakpoints, protected MMIO memory regions
(otherwise, viewing $002100 could crash your game.)
Major missing components:
- trace mask
- trace mask clear / usage map clear
- window geometry caching / sizing improvements
- VRAM viewer
- properties viewer
- working memory export button
The rest will most likely appear after v086 is released.
]
2012-02-12 05:35:40 +00:00
|
|
|
Menu menuState;
|
|
|
|
Item menuStateSave1;
|
|
|
|
Item menuStateSave2;
|
|
|
|
Item menuStateSave3;
|
|
|
|
Item menuStateSave4;
|
|
|
|
Item menuStateSave5;
|
|
|
|
Separator menuStateSeparator;
|
|
|
|
Item menuStateLoad1;
|
|
|
|
Item menuStateLoad2;
|
|
|
|
Item menuStateLoad3;
|
|
|
|
Item menuStateLoad4;
|
|
|
|
Item menuStateLoad5;
|
|
|
|
|
2012-02-09 12:53:55 +00:00
|
|
|
Menu menuHelp;
|
|
|
|
Item menuHelpAbout;
|
2012-02-06 12:03:45 +00:00
|
|
|
|
|
|
|
VerticalLayout layout;
|
|
|
|
HorizontalLayout commandLayout;
|
|
|
|
Button runButton;
|
|
|
|
Button stepButton;
|
2012-02-09 12:53:55 +00:00
|
|
|
Widget spacer;
|
|
|
|
Button clearButton;
|
2012-02-06 12:03:45 +00:00
|
|
|
TextEdit console;
|
|
|
|
|
|
|
|
void print(const string &text);
|
|
|
|
|
|
|
|
ConsoleWindow();
|
|
|
|
};
|
|
|
|
|
2012-02-09 12:53:55 +00:00
|
|
|
struct AboutWindow : Window {
|
|
|
|
VerticalLayout layout;
|
|
|
|
Canvas canvas;
|
2012-02-12 05:05:43 +00:00
|
|
|
Label title;
|
|
|
|
Label version;
|
Update to v085r08 release.
byuu says:
Changelog:
- follow the Laevateinn topic to get most of it
- also added NMI, IRQ step buttons to CPU debugger
- also added trace masking + trace mask reset
- also added memory export
- cartridge loading is entirely folder-based now
FitzRoy, I'll go ahead and make a second compromise with you for v086:
I'll match the following:
/path/to/SNES.sfc/*.sfc
/path/to/NES.fc/*.prg, *.chr (split format)
/path/to/NES.fc/*.fc (merged format)
/path/to/GB.gb/*.gb
/path/to/GBC.gbc/*.gbc
Condition will be that there can only be one of each file. If there's
more than one, it'll abort. That lets me name my ROMs as
"Game.fc/Game.fc", and you can name yours as "Game.fc/cartridge.prg,
cartridge.chr". Or whatever you want.
We'll just go with that, see what fares out as the most popular, and
then restrict it back to that method.
The folder must have the .fc, etc extension though. That will be how we
avoid false-positive folder matches.
[Editor's note - the Laevateinn topic mentions these changes for
v085r08:
Added SMP/PPU breakpoints, SMP debugger, SMP stepping / tracing,
memory editing on APU-bus / VRAM / OAM / CGRAM, save state menu,
WRAM mirroring on breakpoints, protected MMIO memory regions
(otherwise, viewing $002100 could crash your game.)
Major missing components:
- trace mask
- trace mask clear / usage map clear
- window geometry caching / sizing improvements
- VRAM viewer
- properties viewer
- working memory export button
The rest will most likely appear after v086 is released.
]
2012-02-12 05:35:40 +00:00
|
|
|
Label website;
|
2012-02-09 12:53:55 +00:00
|
|
|
|
|
|
|
AboutWindow();
|
|
|
|
};
|
|
|
|
|
2012-02-06 12:03:45 +00:00
|
|
|
extern ConsoleWindow *consoleWindow;
|
2012-02-09 12:53:55 +00:00
|
|
|
extern AboutWindow *aboutWindow;
|