Megalextoria - RDF feed
https://www.megalextoria.com/forum2/
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console
https://www.megalextoria.com/forum2/index.php?t=rview&goto=421497&th=115594#msg_421497
the method I use with KEGS when accessing the Windows 10 cygwin64 BASH
shell from either ProTERM 3.1 or Spectrum. This provides both a login
prompt and if successful, full access to the BASH shell on the host machine.
It requires both an installation of 'socat' and 'cygwin64' (plus BASH).
On KEGS, your preferred serial port is set to remote IP '127.0.0.1' and
port as being '7778'. The port number can be anything, but it is best to
keep it as something other applications will not use.
Save the following command as a .bat file: (I call it 'startbash.bat')
************************************************************ *******
Just run 'startbash.bat' (or just enter the line into the command prompt
window) either before or after starting KEGS, and when you're done with
it, just go to the command prompt window and hit ctrl-c to end it. I
suppose you also could do this as a startup item and just keep it hidden.
Again, this is for Windows. For KEGS from MacOS just run socat as a
daemon as Blake Patterson documented in order to access the bash shell
from ProTERM 3.1 or Spectrum.
Hugh Hood]]>Hugh Hood2024-02-10T20:32:52-00:00Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console
https://www.megalextoria.com/forum2/index.php?t=rview&goto=421445&th=115594#msg_421445
Previously I had detailed a method of using ProTERM 3.1 and/or Spectrum
when running under Kent's KEGS to access the Windows 10 command prompt
from within the emulated IIgs environment.
That method continues to work.
But, as I am more of a unix bash shell guy (from years with Mac OS X), I
didn't find it very useful.
So, I installed Cygwin64 and its bash shell on my Windows machine. Using
the same setup I detailed before, with only one change to Script #2
below, I now am able to access a bash shell running on the Windows
machine from within the emulated IIgs using ProTERM 3.1 and/or Spectrum.
In Script #2 below, change
C:\Windows\System32\cmd.exe
to
C:\cygwin64\bin\bash --login
You may wish to modify your .bash_profile file in cygwin64 to change the
TERM variable to vt100 and also change your startup directory, but other
than that, it's ready to go.
I realize that most will find this a novelty. But, I use some unix
utilities that will accept standard input to do print file conversions,
usually from HP pcl generated by AppleWorks to .pdf format.
By having the emulated Apple II (either by script or macro) login to the
bash shell first, sending the appropriate unix command (ie - pcl2pdf)
and then by 'printing' to the shell (using Kent's Remote IP feature for
redirecting serial port output) this all works very well.
And, while I haven't yet tried it, I suspect GS/OS desktop applications
using the Direct Connect PostScript Driver could use the unix command
'ps2pdf' directly to generate .pdf files from documents 'printed' from
those desktop applications. (I know Sheppy's SweetPrinter does something
similar, too).
{BTW, those two utilities (pcl2pdf and ps2pdf) are part of the
GhostScript GhostPDL package}.
Enough, already.
Hugh Hood
>
> Script #1 is basically just one line:
>
> ************************************************************ ************
>
> socat.exe TCP4-LISTEN:7778,fork
> EXEC:"C\:\/Users\/yourusername\/Desktop\/userandpwprompt.bat ",pty,setsid,setpgid,stderr
>
> ************************************************************ ************
>
> For example purposes, I left in the path to Script #2 just to show you
> how socat requires the ":" and "\" in Windows pathnames to be escaped.
> And yes, the Windows slashes are reversed, but that is what works with
> socat.
>
> Script #2 (which I called 'userandpwprompt') is several lines:
>
> ************************************************************ ************
>
> @Echo Off
>
> :Top
> @set INPUT=
> @set /P INPUT="Username: "%=%
> @if /i NOT "%INPUT%" == "yourname@yourdomain.com" cls & timeout /t 0
> /nobreak & goto Top
> @set INPUTPW=
> @set /P INPUTPW="Password: "%=%
> @if /i NOT "%INPUTPW%" == "yourpassword" cls & timeout /t 0 /nobreak &
> goto Top
> @cls
> C:\Windows\System32\cmd.exe
>
> ************************************************************ ************]]>Hugh Hood2024-01-26T21:52:06-00:00KEGS 1.34 - Remember window size
https://www.megalextoria.com/forum2/index.php?t=rview&goto=421402&th=115610#msg_421402
Originally posted by: kegs
I've released a new version of KEGS v1.34, an Apple IIgs emulator for Mac,
Window,s and Linux at:
Changes in KEGS v1.34 since v1.33 (01/15/24)
- Fix bug where no config.kegs file could sometimes cause a crash.
- Richard Bennett fixes: Change menus to be retina, and add About dialog
on a Mac
- Save the main window size and position in config.kegs (but not
automatically)
Kent]]>2024-01-16T21:27:59-00:00Annual emulator review roundup
https://www.megalextoria.com/forum2/index.php?t=rview&goto=421373&th=115598#msg_421373
https://juiced.gs/emulators . It represents what was current as of late 2022. New emulator reviews since then, and updates to existing ones, are in the December 2023 print issue of Juiced.GS. (Unfortunately, Crossrunner came out after deadline, but I’m looking forward to covering it in 2924!)
Ivan.]]>Ivan X2024-01-02T16:04:14-00:00Re: Crossrunner
https://www.megalextoria.com/forum2/index.php?t=rview&goto=421372&th=115595#msg_421372
Originally posted by: Jedi Mindtrick
Wonderful to see a new emulator for the IIgs! I am especially excited about the debugging capabilities! I have been using ORCA with Golden Gate as my development platform, and it has been great, but debugging natively with GSBug, is clunky at best. I downloaded 1.01 and ran my code in the full emulation more, with no issues, other than some problems with getting keypresses from the number-pad, on my PC keyboard. I then tried out setting up the debugger, using the Debug and CompatibilityLayer switches and I saw my code, with the source! Oh happy day!
Well, now to some questions, as I am having a few issues when running in the debug mode. The first question would be, that I am assuming that when the CompatibiliyLayer is in effect, not all Toolbox calls are working? Maybe similar to Golden Gate, where just the basics are functional? i.e. Things like`_QDStartup`, just result in a BRK getting hit. I was able to skip doing that, as I was only using QD to turn on the graphics, however I seem to have run into some other issues with the CompatibilityLayer. I hate to file bugs for these, without some additional information about the state of the layer, in case I'm just doing some things incorrectly, or they are not supported.
Two things I noticed so far is that calling `_NewHandle`, to get a block of memory at a specific location, required me to set the `attrBank` flag, as well as the `attrAddr` flag, I don't believe the former should be necessary, when requesting a specific location. With just the attrAddr flag set, the `_NewHandle` call succeeded, but did not return a block at the address I requested ($012000). That was a quick workaround, however, I am stuck trying to read from a file. I used the `_OpenGS` call to open a file at prefix 9, then called `_GetEOFGS` to get its length. Both of those worked fine, but then calling `_ReadGS`, fails, returning a $27, which is a generic I/O error.
Let me know if you think I should just post these at issues on your Github repository.
I am really looking forward to using the debug capabilities of the emulator, and am happy to help out if needed.
-Ken]]>2024-01-02T15:21:58-00:00Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console
https://www.megalextoria.com/forum2/index.php?t=rview&goto=421371&th=115594#msg_421371
> Although I promise NOT to pepper you with questions on this, I would ask
> one thing -- what is a DNR error and what in particular causes it?
DNR usually stands for Domain Name Resolution, so an error would normally be that you had given an incorrect URL, and the domain name server you were using could not translate it into a valid dotted address.
Cheers - Ewen]]>someone2023-12-28T08:14:51-00:00Re: KEGS Fun -- ProTERM & Spectrum to Windows Command Line Console
https://www.megalextoria.com/forum2/index.php?t=rview&goto=421370&th=115594#msg_421370
Thanks for putting that up. I'll take a look.
Although I promise NOT to pepper you with questions on this, I would ask
one thing -- what is a DNR error and what in particular causes it?
Hugh Hood
On 12/27/2023 3:56 AM, Speccie wrote:
> Hugh,
>
>> I will look it out and put it on my website when I get time.
>
> The ORCA/M source code for the Emulator Link Layer is now on my web
> site:
>
> https://speccie.uk/software/marinetti-link-layers/
>
> I can’t really help with it very much, as adapting it to a new
> interface would be dependant on the requirements of that
> interface...
>
> Cheers - Ewen
> ]]>Hugh Hood2023-12-28T03:16:13-00:00Re: Crossrunner
https://www.megalextoria.com/forum2/index.php?t=rview&goto=421367&th=115595#msg_421367
> Just downloaded it with Google Chrome on my Windows 10 machine to try it
> out at some point but when the download finished, Chrome told me that it
> detected a virus.
I got the usual "unsigned executable" warning, but no viruses detected.
Also using Chrome on Win10.]]>Andy McFadden2023-12-27T18:56:26-00:00Re: Crossrunner
https://www.megalextoria.com/forum2/index.php?t=rview&goto=421366&th=115595#msg_421366
> Crossrunner, a brand new Apple IIGS emulator, is available now.
> Currently available for Windows.
> Mac and Linux beta testing starting soon.
>
> https://www.crossrunner.gs
Just downloaded it with Google Chrome on my Windows 10 machine to try it
out at some point but when the download finished, Chrome told me that it
detected a virus.]]>Jeff Blakeney2023-12-27T12:07:13-00:00Crossrunner
https://www.megalextoria.com/forum2/index.php?t=rview&goto=421365&th=115595#msg_421365
Originally posted by: Ian Brumby
Crossrunner, a brand new Apple IIGS emulator, is available now.
Currently available for Windows.
Mac and Linux beta testing starting soon.