Commit Graph

51 Commits

Author SHA1 Message Date
Daniel Loffgren
b8e7f1f8da Adding LICENSE file, which just has a link to the source of the ROM for now
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@51 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-21 05:10:26 +00:00
Daniel Loffgren
cbcb7d6ad8 Added ROM to clean target
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@50 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-21 05:08:13 +00:00
Daniel Loffgren
2861b420bd Added ROM target to Makefile, since it should soon be able to assemble it
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@49 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-21 05:01:17 +00:00
Daniel Loffgren
de7debbf8e Replaced source with source that is actually just transcribed from the original Apple 1 manual
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@48 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-21 04:46:58 +00:00
Daniel Loffgren
1ecbc0e47e Make sure to assign the currentLineText for assembler error printing
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@47 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-20 03:58:59 +00:00
Daniel Loffgren
3fc3bb9f4f Utilize new v6502_map return codes and assert on failure to map
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@46 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-20 02:17:09 +00:00
Daniel Loffgren
83bde50a75 Removed video start routine
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@45 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-20 02:08:25 +00:00
Daniel Loffgren
addb0d97a7 Re-enabled green curses console color
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@44 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-19 07:40:18 +00:00
Daniel Loffgren
581c3824d6 Added a neat message to let the user know that there is a debugger
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@43 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-19 05:36:29 +00:00
Daniel Loffgren
dd3b036157 Enabled curses console scrolling
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@42 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-19 05:29:22 +00:00
Daniel Loffgren
d8d3d30bfb Added suspension tracking to PIA, which allows prompting for input on keyboard reads in the debugger
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@41 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-19 05:16:51 +00:00
Daniel Loffgren
bd321ad1a7 More verbosity around boot process
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@40 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-19 05:11:53 +00:00
Daniel Loffgren
b10c5b5d49 Use the currentFileName to make assembler output nicer
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@39 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-18 18:56:40 +00:00
Daniel Loffgren
37a0afeabb Updated Makefile to support editline and the rest of the new debugger code
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@38 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-18 18:21:33 +00:00
Daniel Loffgren
d8bec0875a include signal header for platforms that wong get SIGWINCH along with histedit
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@37 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-18 08:49:26 +00:00
Daniel Loffgren
32424af82b Explicitly declare C99
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@36 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-18 08:48:43 +00:00
Daniel Loffgren
fb14c09db3 Had to disable color temporarily, but now the console video uses only waddch's, and so is restorable
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@35 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-18 08:35:38 +00:00
Daniel Loffgren
1660b3a08f Adapted PIA code to allow dropping to the debugger via the back tick key
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@34 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-18 08:29:31 +00:00
Daniel Loffgren
0d7a3c032a Use new interactive debugger module from v6502
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@33 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-18 07:16:14 +00:00
Daniel Loffgren
a75d31065c Make sure to print annotated instruction before execution of it, so that the resulting cpu state reflects the action
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@32 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-17 07:28:09 +00:00
Daniel Loffgren
ee0a0ea896 Added uppercase force logic back
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@31 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-17 07:27:36 +00:00
Daniel Loffgren
11ff9bdac9 Don't build rom assembly as part of C target
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@30 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-17 06:29:48 +00:00
Daniel Loffgren
a56a004ec5 Checking in a fixed-up version of the woz monitor source from https://gist.github.com/nobuh/1161983
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@29 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-17 06:05:22 +00:00
Daniel Loffgren
5afcfd4056 Removed old comment
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@28 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-17 04:41:05 +00:00
Daniel Loffgren
9e84116826 Removed old instruction length definiton
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@27 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-17 04:39:19 +00:00
Daniel Loffgren
d2a680bdf7 This character encoding should be correct now
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@26 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-17 04:38:53 +00:00
Daniel Loffgren
229d04b9cd Use dis6502_printAnnotatedInstruction from libdis6502, instead of having a resident copy of the implementation
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@25 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-17 04:20:15 +00:00
Daniel Loffgren
acc9106313 xccheckout
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@24 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-17 04:19:22 +00:00
Daniel Loffgren
f2354561a8 Dump asm history to a file for debugging
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@23 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-17 03:39:38 +00:00
Daniel Loffgren
b9de338cbf use \r for carriage return, since that is what it is intended to be (unmasked 0D, CR). Also added an encoding relationship for the escape/reset key
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@22 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-16 06:15:12 +00:00
Daniel Loffgren
5a5718c311 Settings the reset vector is unnecessary, as the woz monitor rom overlaps with the vector locatinos
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@21 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-16 04:44:58 +00:00
Daniel Loffgren
67467a0839 Initial makefile that can build the a1 binary
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@20 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-15 03:05:14 +00:00
Daniel Loffgren
19573995f9 Corrected on which side the char set capitalization should happen
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@19 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 09:10:26 +00:00
Daniel Loffgren
33c59e08f4 Added freezing from CEZ, casting of write callbacks, some limited backspace support
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@18 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 08:19:08 +00:00
Daniel Loffgren
748ea68368 Don't mask letters that aren't alpha
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@17 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 07:45:55 +00:00
Daniel Loffgren
a18eb41a34 Implemented the cool green screen flash for _doCoolVideoStart
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@16 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 07:43:46 +00:00
Daniel Loffgren
a83bd0fa8b Fixed newline character translation
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@15 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 07:34:58 +00:00
Daniel Loffgren
db84fee47d Fixed newline flushing
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@14 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 07:32:41 +00:00
Daniel Loffgren
cc2d4a8554 Added some preprocessor definitions for keyboard readiness register
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@13 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 07:23:51 +00:00
Daniel Loffgren
73ea7d164b PIA input and output both work now
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@12 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 07:18:02 +00:00
Daniel Loffgren
4509c00cb1 Added some PIA lifecycle code, and curses action
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@11 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 01:33:42 +00:00
Daniel Loffgren
6241f39bd0 Keyboard CLRF register needs to be non-zero when there is no input
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@10 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 01:20:12 +00:00
Daniel Loffgren
56fbd9a928 Use only the last mirrored bit of the rom as the reset vector
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@9 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 01:13:54 +00:00
Daniel Loffgren
d5b4f0a83b Added some character set conversion code
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@8 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 01:13:08 +00:00
Daniel Loffgren
76d6da7302 Copied v6502's reference platform printSingleInstruction debug function for debugging, and simplified the rom code to just load the rom every 0x100 bytes
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@7 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 00:42:17 +00:00
Daniel Loffgren
19b706fb6c Added PIA and reset vector initialization to driver
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@6 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 00:28:23 +00:00
Daniel Loffgren
19733ba72b Some very basic PIA functionality
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@5 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 00:24:03 +00:00
Daniel Loffgren
622d6aca9c Added code to load and mirror the ROM
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@4 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-14 00:09:42 +00:00
Daniel Loffgren
ac87480ce8 Got the project building, and used the sample v6502 implementation
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@3 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-13 00:17:41 +00:00
Daniel Loffgren
73f32be51e Added an xcode project and svn:external for v6502
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@2 64f78de7-aa59-e511-a0e8-0002a5492df0
2015-09-13 00:09:01 +00:00