Commit Graph

2462 Commits

Author SHA1 Message Date
andres.delikat 827e2150d7 Lua - implement forms.button(), and the basic backend for calling lua functions on events from user generated controls 2012-07-10 20:23:19 +00:00
zeromus 3a8fe7c464 lua-fix crashes when scripts terminate 2012-07-10 19:40:35 +00:00
andres.delikat ec9cf60d6d Lua - start forms creation library, implement forms.create(), forms.destroy(), and forms.destroyall(). Still TODO: make the forms do something! Also added console.log as an alias to console.output 2012-07-10 19:04:35 +00:00
andres.delikat ca9c27113f "Never be asked to save changes" config menu item 2012-07-10 17:22:23 +00:00
brandman211 32baa013af -Made the memory map use ushort arrays because the Intellivision is 16-bit.
-Fixed JMP disassembly; I need to return on an invalid opcode because I was breaking out of the inner switch statement, not both that and the outer one.
2012-07-09 23:19:57 +00:00
brandman211 f3ce111c48 Checked in memory map...I need to stop programming and start sleeping. 2012-07-09 19:41:49 +00:00
andres.delikat 0791a713a4 Hex editor - remove a todo that is no longer valid 2012-07-09 18:41:59 +00:00
brandman211 104511c5b7 -Intellivision.cs' constructor initializes the PC to 0x1000.
-Set up the "official" memory map - see http://wiki.intellivision.us/index.php?title=Memory_Map
--Things I didn't do:
---Accessibility.
---Additional Occupied Memory Ranges.
---Addresses Available to Cartridges
---Initialize any of the byte arrays.
--Not sure which of these I need to do, but clearly the byte arrays have to be initialized somewhere to something and there's a lot of gaps in this memory map.
2012-07-09 05:29:45 +00:00
brandman211 9b8a9d93f1 Opcodes up to 0x07F. 2012-07-09 03:27:27 +00:00
brandman211 bb532aa2d9 Opcodes up to 0x5F. 2012-07-08 21:49:09 +00:00
brandman211 61cada6190 -Made HLT throw an exception.
-Made all instructions in the executor, even implemented ones, throw exceptions. I will get rid of the exceptions as I test the instructions.
-Added instructions up to and including 0x57 to disassembly and executor.
2012-07-08 19:52:12 +00:00
brandman211 a4912e66c0 -Wasn't supposed to actually increment the PC in the disassembler.
-Cleaned up the 0x004 (Jump) disassembler.
-Implemented 0x004 in the executor.
2012-07-08 08:42:32 +00:00
brandman211 778274a12d -Set up the disassembly decoder just like the executor.
-Disassembled opcodes up to and including 0x7.
2012-07-08 08:17:07 +00:00
beirich 36ba018ae0 basic wire-up of Intellivision core 2012-07-08 04:20:53 +00:00
brandman211 8d254113c2 Finished the opcode decoder. Over a thousand lines in one day...now just to make them do stuff! 2012-07-08 03:53:12 +00:00
brandman211 1c480c98b4 -Created functions for calculating the flags.
-Implemented ADCR.
-Decoded all opcodes up to 0x23F.

TODO: Try vecna's idea of testing the instructions by running a game and implementing instructions as I need them...but first I'll need to implement loading of an Intellivision game.
2012-07-08 01:58:06 +00:00
brandman211 2457c68ed7 Starting IntelliHawk with the CP1610, using the other processors in BizHawk, BlissJ, and this (http://wiki.intellivision.us/index.php?title=CP1610) page as references.
-Definitions.
--Registers, Flags, TotalExecutedCycles, PendingCycles, ReadMemory, and WriteMemory.
-Execute.
--Implemented opcodes 0x001-0x027 with the exception of 0x004 and 0x005.
2012-07-08 00:36:16 +00:00
adelikat 60640acece NES - Implement Mapper 246 2012-07-06 03:44:34 +00:00
zeromus 1eda5f6d63 nes-express m193 differently, maybe more clearly 2012-07-06 03:12:20 +00:00
zeromus 157c145a46 nes-fix m193 2012-07-06 02:29:42 +00:00
adelikat 7a9d037fed NES - Progress on Mapper 193 2012-07-06 01:36:19 +00:00
adelikat 9a86b483d7 Remove speed hack on sound off for NES core, I've been told bypassing the APU isn't TAS safe 2012-07-05 19:27:07 +00:00
brandman211 a127e2e4f2 Diff => Difference in the View submenu on Ram Watch. 2012-07-05 19:10:12 +00:00
adelikat 11312699e4 Ram Watch - fix sorting of prev & diff columns based on last change definition 2012-07-05 03:34:05 +00:00
adelikat d65bd2bb0c Ram Watch - better default column widths and fix restore default settings column widths. Fix reseting of Prev column when changing prev definitions 2012-07-05 03:21:39 +00:00
adelikat af9690baec Ram Watch - center diff column 2012-07-05 03:11:33 +00:00
adelikat a1ff6164ec Ram Watch - make new column compatible with old config files 2012-07-05 03:05:23 +00:00
adelikat b0b7478b40 Ram Watch - on load, check if Diff should be displayed. Implement prev value options - last frame, and last change (Diff adjust accordingly as well) 2012-07-05 01:58:33 +00:00
adelikat a8e3ffa624 Ram Watch - implement Diff column 2012-07-04 23:11:17 +00:00
adelikat 14f7aab89e Hex Editor - fix a bug where shift clicking the first address does not highlight properly. 2012-07-04 21:25:34 +00:00
brandman211 5ce6050cb4 -As frames and subtitles actually occur more than once, I put them on the top of the big if / else if block for ImportText so that it doesn't have to do unnecessary ToLower() and StartsWith("name") calls.
-Put frames and subtitles into functions because vec\ gives good advice.
2012-07-04 07:34:52 +00:00
brandman211 c06a44c495 ImportText now only allows version 3 for .FM2 files. 2012-07-04 06:41:57 +00:00
brandman211 62e9143fdd -Made the boolean parsing more consistent.
-Subtitle parsing now allows excessive whitespace.
2012-07-03 22:24:24 +00:00
brandman211 1aa8030cf4 ImportText now works case-insensitively and trims whitespace. 2012-07-03 16:47:08 +00:00
brandman211 24a27d543a Fixed the case (should have detected "guid", not "GUID") for parsing the guid, preventing an extra space from showing up in converted FM2 files. 2012-07-03 16:04:17 +00:00
phillip.grimsrud 8bc250e7dd 1. Added Atari 2600 to COMMANDS dictionary.
2. Added Atari 2600 case when updating virtual pads.
2012-06-30 01:23:02 +00:00
phillip.grimsrud f7fa9f7751 1. Fixed an Atari 2600 mnemonic bug for issue 77. Note that TAStudio is still broken for Atari 2600. 2012-06-30 00:42:42 +00:00
zeromus 15e63a84ec oops 2012-06-25 17:42:30 +00:00
zeromus 9a54ad750a reorg multiclient source files with an AVOut directory, because there had got to be so many of those in the multiclient root 2012-06-25 17:35:01 +00:00
zeromus 1d254c3705 nes-fiddle around with board irq signal tracking system. break every NES savestate. fix a desync bug in a bunch of mappers 2012-06-25 06:32:54 +00:00
adelikat 690fb786a5 Hex Editor - move "nibble" display to a readable place (broken from the header speed optimization) 2012-06-25 03:21:54 +00:00
adelikat 5f3f6547aa Hex Editor - on find next/prev focus Hex Editor rather than find box 2012-06-25 03:13:02 +00:00
adelikat 7291a8ab0f Hex Editor - ability to increment/decrement frozen addresses. Big Endian and wrapping logic for Increment/Decrementing 2 byte values 2012-06-25 03:10:04 +00:00
beirich b599c69c18 Add VirtualWidth to IVideoProvider and the (numerous) implementations. This is just phase 1, client needs to be updated to utilize this information, and some cores (especially PCE) should be updated in a more involved way to provide better TV emulation. 2012-06-25 02:50:34 +00:00
adelikat 4d91471bab Record movie dialog - use filesystem safe name of game when choosing a default name. Fix regression that made default filename not populate in the savefile dialog. 2012-06-25 00:06:07 +00:00
zeromus 7e8752a5b9 nes-sort out some bus conflict flags for CNROM games to fix colorful dragon (unl) (sachen) 2012-06-24 17:39:12 +00:00
adelikat d59b1e82c7 As usual, I forgot to check in new winform files 2012-06-24 03:45:56 +00:00
adelikat 2d4c6acc04 Hex Editor - implement shift logic to Home/End keys 2012-06-23 21:09:20 +00:00
adelikat 0d40a40ea4 Hex Editor - add shift highlighting logic to up,down,left,right,pageup,pagedown keys, add multi-highlight logic to tab and shift+tab. Still todo: several other keys. 2012-06-23 20:48:17 +00:00
adelikat 12e674973d Hex Editor - implement a find box with Find Prev/Next functions. Also make find highlight all values in the search string when finding a vlue, add Find Next/Prev menu items with hotkeys. 2012-06-23 18:45:01 +00:00