Commit Graph

191 Commits

Author SHA1 Message Date
David Schmidt 7e788187b2
Merge pull request #10 from roadriverrail/master
Network support on modern Linux machines
2020-11-14 11:08:51 -05:00
David Schmidt d1b556c5c5
Fix from Kent Dickey on the WAI instruction
Fantavision hangs when it starts on KEGS-based emulators (which includes GSport and GSplus) due to a bug in the way KEGS handles the WAI instruction.  Fantavision masks interrupts with SEI, sets a SHR line interrupt, and then does a WAI instruction.  This hangs KEGS since it expects an actual interrupt to end the WAI, but there won't be one since interrupts are masked.  I never realized this was a valid WAI use case.

The fix is easy.  In `instable.h`, change:
```
instcb_SYM              /*  WAI */
        g_wait_pending = 1;
        CYCLES_FINISH
```
(There may be some stale #ifdef ASM code, just ignore that) to:
```
instcb_SYM              /*  WAI */
        if(g_irq_pending) {
                g_wait_pending = 0;
                INC_KPC_1;
        } else {
                g_wait_pending = 1;
        }
```
Kent
2020-08-19 15:24:31 -04:00
Rhett Aultman b3de3bb4c7 Network support on modern Linux machines
This commit introduces two changes:

* The vars for Linux have been modernized to support building an i386
binary on an x86-64 environment, as x86-64 is the overwhelmingly most
common case these days.

* Vars were introduced to enable Uthernet emulation on Linux.
Instructions on its use are provided in the README.
2020-08-08 19:42:00 -04:00
david-schmidt 3e26fb1ecd Update to latest cygwin libraries 2017-10-10 15:49:24 -04:00
Nick Westgate bfb8ad621d Fixed Windows joystick support. Has nobody ever used this? <:-| 2017-10-05 10:00:05 +00:00
Nick Westgate 8dda6fd620 Fix F4 can exit app after Alt-Tab 2017-04-16 10:18:11 +00:00
Peter f50274816d Remove an unused variable to cleanup a compiler warning. 2016-01-26 19:10:18 +00:00
Peter 9a48a8c099 Update the Visual Studio project files for compatibility with the latest free "2015 Community" edition. If you use an older edition (like 2013), the Visual Studio IDE will present a warning but allow you to continue. 2016-01-26 18:52:33 +00:00
Nick Westgate 1462ff0dfb Corrected some of the standard 16 colours for TEXT/LORES/HIRES/DHIRES with RGB values extracted from ROM 3 IIgs video signals by Koichi Nishida. 2015-10-01 10:04:36 +00:00
Christopher Mason cddea99bd5 Missed one string. 2015-07-12 00:00:59 +00:00
Christopher Mason 3d256ecb15 Hide virtual printer menus if not building with SDL. Minor formatting changes to menus (consistent casing of "ImageWriter") and clarify that the other virtual printer is an Epson. 2015-07-08 21:35:07 +00:00
Christopher Mason eda058cd0b Fix Ensoniq DOC swap mode behavior so Ninjaforce's NinjaTracker plays looped instruments correctly. 2015-06-06 02:49:33 +00:00
Peter 6ff24f85d0 Configure the "enable AppleTalk diagnostic messages" flag earlier so that initialization messages get printed. 2015-05-05 18:02:27 +00:00
Christopher Mason 79e49b9915 Enable collate function in Windows printer dialog.
Note, this requires that the printer driver internally supports multiple copies and collation. Otherwise the function will not be available to the user.
2015-05-02 04:51:52 +00:00
Christopher Mason eeec76ecaf Improve handling of Windows printer dialog when printing to a native printer.
-If printing with multipage mode on, user will be prompted with the Windows printer dialog with each print job. If multipage mode is off, user will be prompted every time printer is reset to avoid being prompted for every page.

-Improved error handling when user clicks "Cancel" on the print dialog. An error dialog is shown and the Virtual Imagewriter falls back to bitmap output.
2015-05-02 04:15:12 +00:00
Christopher Mason 4eb6157e11 Force re-creation of the virtual Imagewriter whenever the user enters the control panel. No need to manually select the "Apply Changes" menu item anymore. Moved printer reset function to the main menu so user can reset the virtual Imagewriter quickly and easily if they have a problem. 2015-04-29 19:59:07 +00:00
Peter 9cc8c5645f Improve the performance of AppleTalk.
Prior to this patch, network boot to the desktop at 8 MHz CPU (with "turbo" AppleTalk timing) took 2:08.  After this patch, the same network boot takes 1:17.

Previously, the bridge processed packets from within the emulator's 60 Hz update loop.  This bottlenecks network performance, so this patch increases the update rate.
2015-04-14 01:25:47 +00:00
Peter 1b370205c1 Change the status lines on Windows to use white text on a black background.
r355 changed the window background from white to black (which looks good in full screen mode), and this revision changes the status lines similarly for consistency.
2015-03-15 20:45:16 +00:00
Christopher Mason 3563ed395e Added typedef USHORT so non-Windows platforms can properly compile scc_socket_driver.c. 2015-03-14 17:57:47 +00:00
Nick Westgate 93ee32f993 Improved error handling for SCC socket dial with port number. 2015-02-12 20:05:42 +00:00
Christopher Mason 5cc387205e Always show mouse cursor when printer selection dialog is shown. Previously the cursor was hidden when under GS/OS or when the mouse was "captured" via F8. 2015-02-09 02:23:14 +00:00
Nick Westgate 514a316566 Fix VS warning that should be an error! 2015-02-08 08:47:42 +00:00
Nick Westgate 383f658123 Added SCC socket dial with port number code from Andrew Roughan. Fixed socket closing for Windows. 2015-02-08 06:00:40 +00:00
Christopher Mason 199e2f9a76 Add support to Imagewriter for multiple page sizes and banner printing. 2015-02-08 04:55:32 +00:00
Nick Westgate 502b3f50d9 Integer-only scaled full-screen mode on Windows. (Non-integer scaling can be enabled in the source.) Doing this fixed an existing bug where full-screen restore swapped window position X and Y. 2015-02-06 02:12:28 +00:00
Christopher Mason a823643faa Fix page margins in Windows once and for all. Clip the source bitmap by the equivalent amount given by the printer driver. Also set the default left margin of the emulated Imagewriter to 1/4 inch. 2015-02-04 05:39:25 +00:00
Christopher Mason 766a0744d8 Add menu item to allow user to apply changes to emulated Imagewriter without restarting GSport. To use, make changes and then select "Apply Changes". 2015-02-03 00:02:45 +00:00
Nick Westgate fa8313dd1c Fix 5.25 track stepping bug. The only test case is that Mabel's Mansion now boots. 2015-02-02 09:51:26 +00:00
Christopher Mason 753d907315 Slight tweak to pixel resize function for low resolution output. 2015-02-01 20:38:39 +00:00
Christopher Mason 05e6b4c389 Fix Windows printer output to be centered regardless of the margin offsets imposed by a printer driver.
Switch emulated Imagewriter to using page units equivalent to Postscript points (1/72th of an inch) vs 1/10th of an inch. This is to aid in adding additional paper size support in the future.
2015-02-01 20:13:14 +00:00
Peter e3b7bcd23e Fix a mis-located #endif that would cause the C compiler to skip ImageWriter related function prototypes. Missing prototypes triggered several compiler warnings. 2015-01-07 02:20:23 +00:00
Christopher Mason ce319c9370 Speed up serial transfer to Virtual Imagewriter. 2014-12-16 21:56:24 +00:00
Christopher Mason 7e57fdbe9c Fix annoying Ensoniq DOC bug that was causing out-of-tune notes in Synthlab and Diversi-Tune. 2014-08-31 03:17:37 +00:00
Christopher Mason fdead45d01 Implement RLE and ASCII85 encoding on color Postscript output in the Imagewriter emulator. Fix B&W Postscript output scaling bug. 2014-07-30 03:55:12 +00:00
Christopher Mason 4c064fd973 Add vars_x86linux_sdl so folks can build virtual printer support under Linux X11. 2014-07-23 01:28:17 +00:00
Peter b36637b133 Remove the AppleTalk "notes.txt" file because the content has migrated to "appletalk.apt". 2014-06-22 20:02:15 +00:00
David Schmidt b67b4eeb25 Make default imagewriter font be one we ship 2014-06-21 19:36:58 +00:00
David Schmidt d6938a174b Update version number to 0.31 2014-06-21 19:16:05 +00:00
Peter 044a19af02 Fix an inconsistent menu name. Previously, the "Developer Options" menu appeared in the main menu as "Debugging Options". 2014-06-16 16:09:23 +00:00
David Schmenk 615f06fa17 Fix libraries for fb RPi build 2014-06-10 18:33:33 +00:00
Peter ab1fee6d3f Shorten the main menu. Previously, the main menu was too long, and menu items would overwrite the help text near the bottom of the screen. 2014-05-21 17:53:23 +00:00
Peter 4cee84c171 Add additional documentation for the AppleTalk bridge. 2014-05-21 17:19:20 +00:00
Christopher Mason 2932a6e6bd Fix a few missing breaks in resolution switch statements. 2014-05-20 23:03:31 +00:00
David Schmidt 9ff3a2aba1 Patch from Vladmir Ivanov (vladitx) - better floating bus support, fixes Castle Wolfenstein random event generation
comp.emulators.apple2, May 4, 2014; Subject: KEGS 0.91 fix for "Beyond Castle Wolfenstein"
2014-05-04 13:30:59 +00:00
Peter c64cc86de9 Fix Shift-F10 status line toggling on Windows. 2014-04-25 15:36:46 +00:00
Peter 483b63a050 Show the Debugging Options menu on all platforms that support AppleTalk emulation. 2014-04-23 22:14:35 +00:00
Peter ab27b61d1c Compile C source files with the C compiler rather than the C++ compiler. 2014-04-23 15:36:50 +00:00
Peter 58cc512bc9 Merged revision(s) 262-316 from branches/pneubauer/appletalk: Add support for AppleTalk emulation and bridging. 2014-04-15 03:23:34 +00:00
Christopher Mason 20ca867301 Fix missing extern 2014-04-09 21:56:37 +00:00
Christopher Mason 634b89cc45 Rename a variable to allow Visual Studio to build Imagewriter support. 2014-04-06 22:58:20 +00:00