note that 68030 machines are probably fast enough now

This commit is contained in:
cy384 2021-02-16 17:31:39 -05:00
parent 408e45044b
commit 84f096b65a
2 changed files with 10 additions and 7 deletions

View File

@ -4,13 +4,13 @@ ssheven
------- -------
A modern SSH client for Mac OS 7/8/9. A modern SSH client for Mac OS 7/8/9.
Project status: as of 0.8.0 ([see github releases](https://github.com/cy384/ssheven/releases)), a functional SSH client, able to connect via key or password. Versions prior to 1.0.0 are alpha/beta quality. Project status: as of 0.8.0 ([see github releases](https://github.com/cy384/ssheven/releases)), fairly secure and usable, but without a polished UX or all planned features. Versions prior to 1.0.0 should be considered alpha/beta quality.
![ssheven screenshot](http://www.cy384.com/media/img/ssheven-0.6.1-screenshot.png) ![ssheven screenshot](http://www.cy384.com/media/img/ssheven-0.6.1-screenshot.png)
system requirements system requirements
------------------- -------------------
* CPU: Any PPC processor, or at least a 25 MHz 68040/68LC040. Presently, all 68030 and 68020 CPUs are too slow. * CPU: Any PPC processor, or at least a 68030 (68040 strongly recommended).
* RAM: 2MB. * RAM: 2MB.
* Disk space: 1MB for the fat binary. * Disk space: 1MB for the fat binary.
* System 7.1 or later. Versions below 7.5 require the Thread Manager extension. * System 7.1 or later. Versions below 7.5 require the Thread Manager extension.
@ -22,6 +22,7 @@ roadmap
* general ssheven code cleanup * general ssheven code cleanup
* select words on double click * select words on double click
* font face and size options * font face and size options
* improve draw speed
1.0.0 (first "real" release) 1.0.0 (first "real" release)
* nicer error presentation for more failure cases * nicer error presentation for more failure cases
@ -32,7 +33,7 @@ roadmap
* configurable terminal string * configurable terminal string
known bugs known bugs
* initial key exchange is too slow for 68030 machines (improve `mbedtls_mpi_exp_mod` and BN assembly) (needs 5x speed improvement for 68030) * drawing the screen is wildly slow
* input latency feels high because redrawing the screen is slow * input latency feels high because redrawing the screen is slow
* receiving a large amount of data breaks the channel (e.g. `cat /dev/zero`) * receiving a large amount of data breaks the channel (e.g. `cat /dev/zero`)
* excessive redraws/flicker while selecting * excessive redraws/flicker while selecting
@ -41,7 +42,7 @@ known bugs
possible upcoming features possible upcoming features
* scp file transfer * scp file transfer
* more complete color support (currently uses an 8-color hack) * more complete color support (currently uses the default Mac 8 color palette)
* keyboard-interactive authentication * keyboard-interactive authentication
build build

View File

@ -1039,7 +1039,9 @@ int safety_checks(void)
long int cpu_type = 0; long int cpu_type = 0;
int cpu_slow = 0; int cpu_slow = 0;
int cpu_bad = 0; int cpu_bad = 0;
err = Gestalt(gestaltNativeCPUtype, &cpu_type); err = Gestalt(gestaltNativeCPUtype, &cpu_type);
if (err != noErr || cpu_type == 0) if (err != noErr || cpu_type == 0)
{ {
// earlier than 7.5, need to use other gestalt // earlier than 7.5, need to use other gestalt
@ -1052,13 +1054,13 @@ int safety_checks(void)
else else
{ {
if (cpu_type <= gestalt68010) cpu_bad = 1; if (cpu_type <= gestalt68010) cpu_bad = 1;
if (cpu_type <= gestalt68030) cpu_slow = 1; if (cpu_type <= gestalt68020) cpu_slow = 1;
} }
} }
else else
{ {
if (cpu_type <= gestaltCPU68010) cpu_bad = 1; if (cpu_type <= gestaltCPU68010) cpu_bad = 1;
if (cpu_type <= gestaltCPU68030) cpu_slow = 1; if (cpu_type <= gestaltCPU68020) cpu_slow = 1;
} }
// if we don't have at least a 68020, stop // if we don't have at least a 68020, stop
@ -1068,7 +1070,7 @@ int safety_checks(void)
return 0; return 0;
} }
// if we don't have at least a 68040, warn // if we don't have at least a 68030, warn
if (cpu_slow) if (cpu_slow)
{ {
CautionAlert(ALRT_CPU_SLOW, nil); CautionAlert(ALRT_CPU_SLOW, nil);