Commit Graph

  • 5378b2c971 Added register names to argument processing. This means you can set e.g. location 80 to the contents of the X register by saying "ram 80 x". This also means that there's a small conflict: if you're inputting the value 0x0a (decimal 10), you need to either say "0a" or "A". Otherwise the parser thinks you're talking about the "a" register instead of the hex number "a". urchlay 2005-06-18 17:28:18 +0000
  • a92a6b0ab8 Implemented missing "clearbreaks" command in prompt. This command nulls out the M6502's breakPoints, so any speed decrease caused by breakpoint checking logic should go away after breakpoints are cleared. urchlay 2005-06-18 15:45:05 +0000
  • 17d72c8d12 Updated debugger.txt with info on cheat system. This document will eventually become part of the main HTML manual. stephena 2005-06-18 13:45:34 +0000
  • e681c06799 Added "frame" command to the prompt, identical to the Frame+1 button. urchlay 2005-06-18 07:12:53 +0000
  • 999f4b52b6 Initial documentation for the debugger. Also changed negate button label in RAM tab from "~" to "Neg". ~ is the invert/complement operator in C, not negation. I thought about using a minus sign, but it's visually too similar to the -- for decrement... urchlay 2005-06-18 06:59:43 +0000
  • fc6401eb2f Updates for the VC++ project file. Fullscreen OpenGL support in Win32 is currently somewhat broken, and I'm thinking this may be related to the mysterious OpenGL Linux problems as well. stephena 2005-06-18 00:51:15 +0000
  • eaa8fa898b Implemented "disassemble" command in prompt, in case you want to see more code than the current line. urchlay 2005-06-17 21:59:54 +0000
  • 09bb356f52 Added zero, invert, negate, increment, decrement, shift left and shift right buttons to the RamWidget. They operate on the currently selected memory location. stephena 2005-06-17 21:46:24 +0000
  • 53fb6d00d4 Fixed problem with changing RAM locations and input longer than 2 hex digits. stephena 2005-06-17 18:17:15 +0000
  • f58a258b94 Added 'Frame Advance' and 'Exit' buttons to the DebuggerDialog. Advancing the frame by 1 can be very useful, in that you can change a memory location, do a frame advance, and then see any results graphically. stephena 2005-06-17 17:34:01 +0000
  • 07ea0bbae1 Re-added (center) commandline argument, which was in a previous version of Stella. It defaults to true/on, so if you don't want centering, use '-center false' on the commandline at least once (or edit the config file). stephena 2005-06-17 14:42:49 +0000
  • 379aa0c3ed Major surgery on the breakpoint support. It all seems to work correctly now: set/clear a breakpoint, clear all breakpoints, list breakpoints (including labels in the output!). The 6502 no longer gets "stuck" on a breakpoint if you quit the debugger while the current PC is a breakpoint. urchlay 2005-06-17 03:49:10 +0000
  • f1617b1db8 Further work on the RamWidget. It now shows row labels in hex, but I may not be able to add column labels because we need the vertical space for buttons. Also, the ByteGrid is now drawn correctly. stephena 2005-06-16 22:18:02 +0000
  • 028f95768d First pass at the RAM input widget. stephena 2005-06-16 18:40:17 +0000
  • ee8e3fcd0c Got rid of SDL window-centering option, so the $#@#^ window will stay put when switching between debugger and emulator mode. urchlay 2005-06-16 16:36:49 +0000
  • 05d67232a6 Only start/exit the debugger when necessary (don't start it when it's already going, and don't stop when it isn't). stephena 2005-06-16 16:26:27 +0000
  • 33155b9138 The processor state + disassembly now appears as part of the prompt, rather than the result of each command. This makes breakpoints a little nicer (you see the state as soon as you hit the breakpoint). urchlay 2005-06-16 16:18:57 +0000
  • 9473ca0dd5 Added support for informing the M6502 of the debugger, so it can call it directly. stephena 2005-06-16 12:28:54 +0000
  • c693074377 Partial breakpoint support: the "break" command in the console sets & clears breakpoints, and the 6502 core emits a "hit breakpoint" message to standard error when it sees a breakpoint. Still TODO is to figure out how to enter the debugger from within the 6502 core! (Stephen?) urchlay 2005-06-16 02:16:26 +0000
  • 008c49e507 More copyright fixes. stephena 2005-06-16 01:11:29 +0000
  • 7d9fc41053 Updated the copyright notice on all files. stephena 2005-06-16 00:56:00 +0000
  • f42399092d Added border around active widget. Currently it's drawn in an ugly red color; this will have to change. This makes it much easier to navigate with the keyboard, since it's now easy to see which widget you've tabbed to. stephena 2005-06-16 00:20:12 +0000
  • bbd77f6a51 Cleaned up equateList stuff. Now there's only one instance, in the Debugger, which gets used by both DebuggerParser and D6502, but neither one keeps a pointer to it permanently. urchlay 2005-06-15 23:45:04 +0000
  • 1b332ef8f0 The CheatWidget seems complete; RAM contents can now be changed. stephena 2005-06-15 21:18:47 +0000
  • c00de2813c De-uglified the symbol loading somewhat. It still isn't working 100%. urchlay 2005-06-15 20:41:09 +0000
  • d6d73fff6f Added widget to Cheats area for changing memory. It's not quite working correctly yet, but we're close. stephena 2005-06-15 18:45:28 +0000
  • 34c7e84d45 Allowed strings starting with numbers to be selected. stephena 2005-06-15 15:48:09 +0000
  • a402ecad41 Removed stale StellaX frontend code. Stella now has an internal GUI/launcher, so this code has been officially abandoned. stephena 2005-06-15 15:38:19 +0000
  • eb792b159a Updated ListWidget to extend EditableWidget class (new code from ScummVM CVS). This means you can now edit the contents of a ListWidget, and do something with those new contents based on the signal that's emitted. stephena 2005-06-15 15:34:35 +0000
  • ab9e047d49 Implemented symbol file loading. There are still some rough edges, but it does work. urchlay 2005-06-15 04:30:35 +0000
  • 3af4b74147 Added much more functionality to the CheatWidget. Currently, everything is working except for changing values (but you can still use the RAM tab to do that). stephena 2005-06-14 18:55:36 +0000
  • bf16e9a6f9 Added 'Exit Menu' button to the Options Menu. You can still exit by using the 'Tab' key, though. stephena 2005-06-14 12:18:37 +0000
  • cdb61cddb0 DebuggerParser now supports labels in input. Labels are treated case-insensitively! urchlay 2005-06-14 03:11:03 +0000
  • 5e911f1453 Disassembly now shows symbolic names from VCS.H urchlay 2005-06-14 01:55:52 +0000
  • 780422bd42 More GUI infrastructure changes. I'm hoping to have the CheatWidget complete by tomorrow evening. stephena 2005-06-14 01:11:48 +0000
  • 15ae1043e9 Disassembly display in Debugger.state() now shows machine code bytes. urchlay 2005-06-14 00:58:39 +0000
  • c866f7962e Add Cycles display to the debugger state. For now this is just the number of cycles since the ROM was loaded. urchlay 2005-06-13 19:04:54 +0000
  • 59f61c7926 Forgot to remove DebuggerCommand.* in last commit, whoops urchlay 2005-06-13 17:24:42 +0000
  • 382d2fd045 Removed stale DCmd* files from src/debugger urchlay 2005-06-13 17:10:43 +0000
  • 89bf4d1da6 D6502::disassemble() now includes cycle count in its output. This isn't perfect: it doesn't take into account the extra cycles added by things like taking a branch or crossing a page boundary. However, it's still somewhat useful and *dead* simple to implement this way. urchlay 2005-06-13 13:35:09 +0000
  • 536b65f4bc Implemented quite a few debugger commands, plus machinery within Debugger class to support them. urchlay 2005-06-13 02:47:44 +0000
  • 58ef675a78 Added beginning of CheatWidget, which will be used for searching a memory location for a certain value (ie, finding out which location holds # of lives). stephena 2005-06-12 20:12:10 +0000
  • fd82d749ec Oops, forgot to include the makefile. stephena 2005-06-12 18:18:42 +0000
  • 330ca1bd7c Slightly reworked the debugger commandline handling. Commands are now contained in the Debugger class methods, since they need to be accessible from both the console and the GUI code. stephena 2005-06-12 18:18:01 +0000
  • 47b471bc1a Finally, the console does something! urchlay 2005-06-11 20:02:25 +0000
  • 3bc9a165bc Updates so that Stella can compile in Visual Studio .Net stephena 2005-06-11 17:02:26 +0000
  • 8bf842f319 Added missing semicolon in Mac specific code markgrebe 2005-06-11 01:52:49 +0000
  • 80ef283eb1 Continuous mouse click events now work, as long as the mouse isn't being moved. That means you can click on the arrows in a scrollbar, and keeping the button pressed will keep clicking the arrows. stephena 2005-06-10 18:46:11 +0000
  • 4ee8ee8cd7 Made the Debugger dialog use a TabWidget again, instead of it being another Dialog. This was necessary since it seems Dialogs can't contain other dialogs in the GUI core. stephena 2005-06-10 17:46:07 +0000
  • c988604949 Reverted the previous changes, since it looks like I'll have to revert back to a TabWidget and PromptWidget, and it's going to take some time. stephena 2005-06-09 20:09:23 +0000
  • 7e7d0b57f5 First attempt at adding buttons to each DebuggerDialog class. The PromptDialog is currently broken. stephena 2005-06-09 19:04:59 +0000
  • 90ed128060 Moved DebuggerParser instance variable to Debugger class, since it *belongs* to the Debugger and only *talks* to the PromptDialog. stephena 2005-06-09 15:08:23 +0000
  • f37ab61597 Bare beginnings of DebuggerParser & its supporting cast. The only command that works as yet is "quit", and it doesn't actually quit anything :) urchlay 2005-06-09 04:31:45 +0000
  • f277b89710 Fixed some crashes when scrolling in the PromptDialog. stephena 2005-06-08 21:16:06 +0000
  • 35f9b5b0e4 Totally reworked the font subsystem. Fonts now belong to OSystem instead of the FrameBuffer (since fonts should only be created once, and the FrameBuffer is deleted and re-created many times). stephena 2005-06-08 18:45:09 +0000
  • 0a84fa22bb Fixed remaining problems with the debugger console. Erase to beginning of line (Ctrl-U) now works, as do shifted characters. stephena 2005-06-07 21:22:39 +0000
  • 08548e51df Further work on the debugger console: Added typical Unix shell shortcut keys (still TODO is Ctrl-U) Fixed delete action causing crashes Made cursor redraw at the correct place stephena 2005-06-07 19:01:53 +0000
  • 93f9e9e526 Auto-select the debugger prompt when entering debugging mode. stephena 2005-06-07 01:27:06 +0000
  • cf9f42b652 Added debugging console/prompt commandline interface. It's still not quite working correctly, but at least text appears when you type. stephena 2005-06-07 01:14:39 +0000
  • 6e074d8680 Fixed annoying bug(s) whereby keys that had modifiers were still being passed to the emulation core. For example, when pressing 'Alt-Enter' to toggle fullscreen mode while in the launcher, the 'Enter' was also starting the selected ROM. Now all keys that are pressed with modifiers are swallowed before they reach the core. stephena 2005-06-05 23:46:19 +0000
  • 02b1db5c0e Added missing Win32 filesystem stuff. stephena 2005-06-05 22:20:49 +0000
  • a934f8fc98 These OSX hidden files don't need to be in CVS markgrebe 2005-06-04 02:15:28 +0000
  • f27a3796f5 Added About Box back in, which was taken out in initial 2.0 port markgrebe 2005-06-04 02:13:19 +0000
  • 6b47658483 Main loop code moved to core modules markgrebe 2005-06-04 02:11:38 +0000
  • 0e0b225122 First pass at the debugger dialog box. Right now, it contains 6 tabs: stephena 2005-06-03 17:52:06 +0000
  • 39fe5c8c04 Added Save Properties and Merge Properties to Menu Items in Mac version markgrebe 2005-06-03 06:00:22 +0000
  • 3408b439fd Fixed type in added menus for developer xstart keys markgrebe 2005-06-03 05:30:21 +0000
  • cd4efb7a36 Added Mac Menus for key insertion events back in markgrebe 2005-06-03 05:21:01 +0000
  • 9ac5d2a4d2 Added Mac Menus for key insertion events back in markgrebe 2005-06-03 05:05:05 +0000
  • b4de09b4f8 Made Stella compile again in MingW. It was apparently a problem with namespaces. It seems parts of Stella aren't namespace-clean. stephena 2005-06-02 21:37:33 +0000
  • 57246c69a9 Fixed regression whereby the overlay images were appearing when a snapshot was taken. stephena 2005-05-31 17:57:50 +0000
  • e6e91f3522 Made sure aspect ratio is taken into account when checking for maximum size of SDL screen. stephena 2005-05-30 16:25:47 +0000
  • 298c6f2456 Updated Windows port with latest core changes. Except now, the thing compiles in Visual Studio and not MingW. stephena 2005-05-29 18:54:28 +0000
  • 1dc74f75e9 Made sure that dirty-updates are being done correctly wrt overlays. Fixed bug where sometimes the options menu wasn't being redrawn when resizing the screen. stephena 2005-05-29 16:09:21 +0000
  • 5c1775d45c Removed 'mergeprops' commandline argument. stephena 2005-05-28 23:57:10 +0000
  • 9e5a330700 Fixed an issue with Mac specific code in EventHandler. Keypresses were being processed for both Key down and Key up events, when they should have been Key down only. I added the && state to the if statements markgrebe 2005-05-28 22:10:43 +0000
  • 57979ea033 Added handling of Cmd-h, Cmd-m, and Cmd-? back into Macintosh version, as these are standard Mac OS Key shortcuts markgrebe 2005-05-28 21:50:07 +0000
  • ce294522a7 Changes to allow for command line execution of Stella on the Macintosh markgrebe 2005-05-28 21:06:41 +0000
  • 6706fb41f7 Reworked FrameBuffer::update() and FrameBuffer::refresh(). Sometimes the mediasource and overlay need to redrawn independently of each other. stephena 2005-05-28 17:25:41 +0000
  • 9887210759 Changed compiler to gcc4, and changed version string to 2.0 Alpha markgrebe 2005-05-28 01:37:05 +0000
  • 1fc5fa9ac2 Added ability for user to open ROM by dropping it on running application's Icon in dock. markgrebe 2005-05-28 01:29:29 +0000
  • e5ea2f99be Added Mac Specific Classes markgrebe 2005-05-28 01:28:36 +0000
  • cf8b71bb25 Made theOSystem global so that the Mac OS specific object can call the createConsole method to open a cartridge from the user droping a file on the running icon. markgrebe 2005-05-28 01:23:54 +0000
  • 8a0432af80 And so it begins ... Very rudimentary support for the integrated debugger has started. The debugger can only be launched when in emulation mode, and is toggled by the ` (backquote) key. Right now, I'm still fine-tuning the infrastructure. When you press `, the SDL window resizes itself to 510x382 pixels (large enough at single zoom for 800x600 and under, and at double zoom for 1024x768 and above). The emulation is moved to the upper left corner, and the remaining space will be filled with debugger widgets (making extensive use of the TabWidget to squeeze as much as possible into the limited screen real-estate). It's my intention for at least _minimal_ debugger functionality to be included in the next release. stephena 2005-05-27 18:00:49 +0000
  • ec27cb2b1c Initial checkin of Mac project for working with new version of Stella markgrebe 2005-05-27 17:13:23 +0000
  • 6dc0465d35 Added required MAC OSX specific code for interface between objective-c and c++ markgrebe 2005-05-27 17:09:26 +0000
  • dbfda0f59b Fixed type in MacOSX specific code markgrebe 2005-05-27 17:05:44 +0000
  • 1017bd3222 Changed some FIXME's to TODO's, since they probably won't be done for the next release. stephena 2005-05-26 18:56:58 +0000
  • 9722d7f554 Added continuous key event support to the DialogContainer. That means one can hold down a key, and after a small delay, the key event will be repeated. This is much better than having to push the 'down arrow' 100 times in a large scroll box. Still TODO is handle mouse clicks in the same way. The code is there, but it's commented out. This will be much harder, since the GUI code from ScummVM wasn't designed to work that way. stephena 2005-05-26 15:43:44 +0000
  • 46f3e463d9 Re-added joystick support. stephena 2005-05-25 23:22:11 +0000
  • 6d53a85e58 Removed the filesystem-related methods (fileExists and mkdir) from OSystem class into the FSNode class, since that's where all the other filesystem stuff is. stephena 2005-05-25 17:17:38 +0000
  • fe67d725df A slight reworking of the INTTYPES stuff. If Stella is built using the makefile, it's obviously using a UNIX/Posix build environment. And since inttypes.h is always available under Posix, the #define for HAVE_INTTYPES can always be used. stephena 2005-05-21 19:55:17 +0000
  • 2df00cd64b Fixed inttypes support so that Stella compiles in Visual C+ .Net (which is currently the lowest supported version of Visual Studio that Stella can be compiled in). It seems that VS.Net already knows about the inttypes, so an explicit 'include <inttypes.h>' isn't required. However, when compiling under MingW, the include *is* required. stephena 2005-05-21 19:35:59 +0000
  • 0572e86e9e My first attempt at compiling Stella under an x86_64 system with gcc 4.0. System is Fedore Core 4 test 3. There were surprisingly few issues, considering I've never used 64bit mode before. Thanks to Brian Watson for initially pointing out potential problems. stephena 2005-05-21 16:12:13 +0000
  • 628a1e53ab Fixed problem with OpenGL in 24/32-bit color modes. stephena 2005-05-19 19:43:38 +0000
  • 0a7a36bede Finally got Win32 port working again. Still TODO is contact the OSX maintainer and see how hard it will be to update that port. stephena 2005-05-19 18:42:39 +0000
  • 891ad6f7fe Forgot to add FSNode for Win32. stephena 2005-05-19 13:52:55 +0000
  • 6f68c3b20e Second pass at getting Windows version to compile. stephena 2005-05-18 22:54:02 +0000
  • 69c0767fa2 Some minor code refactoring, and first pass at getting Windows version to compile. stephena 2005-05-18 22:35:37 +0000
  • fa9786253d Scratch another most-requested feature of the list. stephena 2005-05-18 16:02:53 +0000