1
0
mirror of https://github.com/livingcomputermuseum/ContrAlto.git synced 2026-03-01 17:36:14 +00:00

60 Commits

Author SHA1 Message Date
Josh Dersch
60bb9bfd13 Added "-rompath" startup option to allow specifying an alternate path for microcode ROMs. Updated raw Ethernet handling to work with ncap (which replaces WinPcap since it's no longer being updated) running in WinPcap mode. Fixed bug with DebuggerPrompt -- when run with stdin/out redirected, Console.Width is 0, resulting in a div/zero issue. 2019-02-21 16:43:44 -08:00
Josh Dersch
d96d232fd3 Initial commit of changes for 1.2.3. This includes:
- Scripting support: Allows for recording and playback of mouse/keyboard input and various system control actions.  Simple (i.e. basic) scripting format.

- Fix for stale packets left in ethernet input queue; packets received by pcap while Alto's receiver is off are discarded.

- Mouse input made more accurate, and tweaked to avoid Alto microcode bug that causes erroneous mouse inputs under very rare circumstances on real hardware, but much more frequently under emulation.

- Small code cleanup here and there.  Moved many UI strings to resources, many more to go.
2018-03-20 14:16:07 -07:00
Josh Dersch
6f20ebbfe7 Minor UI tweaks, better error handling around disk pack image errors. Updated readme-mono.txt to include SDL 2.0 instructions for OS X. 2017-12-08 12:56:48 -08:00
Josh Dersch
3e281b318b Implemented Alto Keyset at long last, cleaned up Trident controller somewhat. Finished Trident commandset for SDL console. Updated readme files and installer WXS in preparation for 1.2.2 release. 2017-09-14 13:16:26 -07:00
Josh Dersch
38124350fb Fixed Trident drive select issues, corrected issue with extended memory bank registers. IFS now runs. 2017-08-31 12:23:46 -07:00
Josh Dersch
523a4bb27f Initial implementation of Trident controller and drives (supporting T-80 and T-300 packs). TFU works and can certify, erase, exercise and manipulate files on Trident packs. TriEx doesn't quite work properly yet. Still some issues to iron out.
Added file-backed disk image implementation for use with Trident disk images, did some basic refactoring of disk load/unload logic, added support for creating new (empty) disk images for both Trident and Diablo disks.

Added UI for loading/unloading/creating up to 8 trident packs; added blank Diablo pack creation UI.  (Both Windows and *nix interfaces.)

Added configuration support for same (both Windows and *nix.)

Small correction to Print output path browsing logic.

Fixed Windows installer, now places the right ROMs for Alto I configurations in the right place.

Fixed issue when starting up with corrupted configuration.  Corrupted configuration is ignored and ContrAlto will run with default config.
2017-08-22 13:18:31 -07:00
Josh Dersch
bfcce44a8f Fix for Ethernet bug introduced with switch to SharpPcap: Filtering of packets sent by ourselves doesn't actually take place. Amazingly this didn't break much, but Trek was affected and we can't have that. 2017-07-11 11:25:02 -07:00
Josh Dersch
f849b795a6 - Fixed two memory state machine issues:
1) The Orbit microcode occasionally expects to be able to do a double-word read in cycles 6 and 7 instead of the usual 5 and 6.
  2) The double-word logic incorrectly handles several species of overlapped read/writes, which Spruce's layout microcode uses.

As a result, Spruce now works, as do the Smalltalk-80 images.

Several tweaks to microcode disassembly (still rough).

Completed Orbit / Dover ROS / Dover Print Engine emulation.  Still some rough edges; it works and can create PDF output.

Tweaked Disk Controller's Restore operation, it is now more accurate though wasn't causing any noticable issues.
2017-07-10 16:49:12 -07:00
Josh Dersch
c671b04ee8 Switched from PCap.net to SharpPcap for ethernet encapsulation; SharpPcap is cross-platform, this allows raw ethernet encapsulation to work on Linux and OS X. 2017-06-13 11:19:25 -07:00
Josh Dersch
6cadb08b0e Added support for Unix/OS X using Mono. This uses SDL2 for display, keyboard, and mouse. 2017-06-07 11:18:32 -07:00
Josh Dersch
4bc85daa36 New hardware implementation:
- Orbit controller: implemented and passes ROS-less diagnostics
- ROS: In progress, not functional
- DAC: For Ted Kaehler's Smalltalk Music system (FM and Sampling).  Works, generates audio and can capture to WAV file.
- Organ keybard: Stub, enough implemented to make the music system happy (so it will play back music and not crash.)

Some minor cleanup.

New dependency on NAudio package for DAC playback.  Installer updated to include NAudio lib.
2017-05-12 17:23:34 -07:00
Josh Dersch
50f4f9e7a1 Minor fixes, modified Ethernet to send packets as broadcasts, to match with IFS changes. 2016-12-15 14:08:39 -08:00
Josh Dersch
364034f012 Final v1.1 tweaks. 2016-10-27 13:17:50 -07:00
Josh Dersch
c5e06d46a0 Updated license to GNU AGPL, updated readme and EULA accordingly. 2016-07-26 18:06:35 -07:00
livingcomputermuseum
38f69f13a6 Delete HostEthernet.cs
Removing dead file
2016-07-20 13:14:30 -07:00
JoshD
f8f085464d Fixed clumsy handling of network device selection. Things are more uniform now (at last). Updated readme to include VC++ 2010 redistributable requirement for raw ethernet. 2016-07-19 13:07:30 -07:00
JoshD
5a17e7cfac Added GPL license header to source code; updated readme; removed disk images from installer package. Removed pcap folder from project 2016-07-12 17:18:54 -07:00
Josh Dersch
46d625586f Initial pass at implementing Alto Music (Organ/DAC interfaces). Not currently functional. Fixed Nova diassembly to properly handle alto-specific instructions; fixed some annoyances with microcode disassembler. 2016-05-12 18:31:22 -07:00
Josh Dersch
6429c3ae7a General code cleanup. Fixed debugger display of RAM banks for 3K systems, cleaned up logic for displaying ucode memory. Implemented memory timing for Alto I systems, incorporated Alto I uCode ROMs from Al K, which now boot. ST-74 runs better now. 2016-05-05 18:56:29 -07:00
Josh Dersch
a62ac823ed Initial implementation of Alto I support. Still need proper Constants ROM for Alto I. Changed IDISP to use ACSOURCE ROM (small perf increase). 2016-04-13 15:45:33 -07:00
Josh Dersch
a9428a91d8 Small optimizations, updates to installer, and new UI for FPS and disk activity. 2016-04-05 15:22:30 -07:00
Josh Dersch
97e72f7989 Fixup for "1.0" release. 2016-03-25 15:52:23 -07:00
Josh Dersch
c4565f81a5 Fixed drive select logic (multiple drives now work properly -- fingers crossed) and some minor cleanup and dead-code removal. 2016-03-24 17:31:21 -07:00
Josh Dersch
bfda781576 Fixed disk controller logic (really disk timing logic) so that disk can run at 100% speed (rather than 50% speed). Changed endian-ness for ethernet packet words to match 3mbit bridge. (Similar changes also made to IFS). Removed some dead code. 2016-03-23 16:48:56 -07:00
Josh Dersch
2c99250ded Small tweaks to display controller in low-res mode; added support for Diablo 44 disks, added ST-76 on Diablo 44. 2016-03-16 17:07:57 -07:00
Josh Dersch
4cbb74c033 Fixed two microcode bugs related to task switching behavior. Dance, StarWars and *SMALLTALK* work! 2016-03-09 16:05:45 -08:00
Josh Dersch
b6e43080f2 Added (temporary) code to debug floating point issue with Dance,Starwars. 2016-03-08 17:23:32 -08:00
Josh Dersch
41b6a76b2a Implemented the 3K control RAM configuration, fixed bug in SWMODE (should use modified NEXT, not the NEXT from the uinstruction to determine bank.) 2016-03-03 16:28:05 -08:00
Josh Dersch
c48e530cbe Finished up configuration UI. Config is now persisted to a configuration file. Small fixes to UDP encapsulation to ignore packets coming from the same host. Small fix for PInvoke for high res timer. 2016-03-02 17:31:19 -08:00
Josh Dersch
c73fb66dee Added configuration UI. Implemented ethernet encapsulation over UDP. A few minor tweaks. 2016-02-26 17:46:50 -08:00
Josh Dersch
209dea8052 Ethernet tweaks / hacks for IFS, added configuration for 'net boot. 2016-02-17 13:54:23 -08:00
Josh Dersch
325a416b87 Cleaned up EthernetController, moved compilation back to "Any CPU" (preferring x86) using x86 versions of the PcapDotNet libraries, netting a 10-20% speedup. 2016-01-19 14:15:20 -08:00
Josh Dersch
43a85e0101 Ethernet receive/reset fixed, MazeWar now works with more than 2 players. Ethernet controller receive logic still needs massive cleanup. 2016-01-19 11:10:04 -08:00
Josh Dersch
8463ef19d0 Ethernet! A really hacky version of Ethernet. Can play MazeWar, but still needs work. 2016-01-15 14:44:24 -08:00
Josh Dersch
898abdc906 Minor fixes for debugger interface and disassembler; started hooking Ethernet interface up to real host Ethernet (because MazeWar.) 2016-01-12 17:29:42 -08:00
Josh Dersch
30ed445764 Fix for soft-reset emulator uPC and device reset; CopyDisk now executes correctly. 2016-01-11 16:16:05 -08:00
Josh Dersch
0cce77c842 Fixed S register addressing (many things now working!), tweaked display (mouse displays correctly in lowres mode). Added support for committing disk changes back to disk images (done automatically when switching disks or exiting). Repaired BravoX image. 2015-12-22 15:45:56 -08:00
Josh Dersch
3c8a64bac8 Ethernet implemented, fixed a bug in "mixed" double word stores (store followed by fetch rather than two stores). Fixed a few UI issues, fixed Reset behavior. 2015-12-17 16:11:03 -08:00
Josh Dersch
42947488e9 Cleaned up new UI, refactored Debugger/control logic, fixed mouse capture behavior and started working on better keyboard input. 2015-12-14 17:47:12 -08:00
Josh Dersch
115432516f Refactored drive logic (mostly) to allow for multiple drives. Fixed drive selection logic. Started work on "real" UI. 2015-12-11 16:57:02 -08:00
Josh Dersch
2ee3d64f6c Commiting misc. changes and notes. 2015-12-03 10:51:48 -08:00
Josh Dersch
2c2ea68a63 Implemented disk writes (roughly). Bravo now works. DIEX passes with writes enabled. Begun investigation into drive selection logic. Added Mesa source code with annotation, is displayed in ROM1 tab. 2015-12-02 12:39:10 -08:00
Josh Dersch
f256042cf4 Small tweaks, draft of annotated XMesa microcode assembly added. 2015-11-24 17:27:06 -08:00
Josh Dersch
b13944c81c Implemented proper video timing, basic mouse support and fixed microcode RAM loading. MARTEST now passes with flying colors; more things are running. Suspect disk timing for other failures. 2015-11-19 17:41:16 -08:00
Josh Dersch
cbcfd2b47e Minor bugfixes, introduced a new timing infrastructure and moved DiskController over to it. Minor performance improvements; now running at 110% speed. Display timing is still too slow. 2015-11-17 16:09:50 -08:00
Josh Dersch
30ecfa6900 Support for CRAM reading/loading, SWMODE support. Rough debugger UI for viewing / disassembling microcode in ROM1, RAM0 banks (ugly). Minor performance improvements. 2015-11-13 16:50:18 -08:00
Josh Dersch
47a2ee4b2b Implemented temporary "fake" display controller which renders Alto DCBs to the screen, bypassing the display microcode. Alto is booting! Rough keyboard implementation. 2015-11-11 16:34:44 -08:00
Josh Dersch
ca638f1d6e Initial rough implementation of Display hardware and associated tasks. Not really working. 2015-11-10 17:04:05 -08:00
Josh Dersch
e1c90dbe01 Fixed bug in carry flag on SUB operations; SUBLZ X,X now works correctly. Alto now appears to boot successfully. Skeleton of Display hardware added. 2015-11-09 17:36:26 -08:00
Josh Dersch
e9a13529c1 Implemented extended memory and fixed issues with S register 0 (which loads M). 2015-11-05 17:29:41 -08:00