Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #885
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Newsgroups | comp.sys.apple2.programmer |
| Subject | Re: DHRYSTONE 1.1 for Aztec C65 3.2b available for download |
| Date | 2013-10-04 05:29 -0500 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <l2m5a9$j0m$1@speranza.aioe.org> (permalink) |
| References | <l0tsv8$7g7$1@speranza.aioe.org> |
"Bill Buckels wrote: >DHRYSTONE for ProDOS 8 written in Aztec C65 3.2b is now available... I get >a result of 39 DHRYSTONES/second. Aztec C65 compilers produce executable programs for 2 targets: - "RAW" (SA -Stand-Alone) executables (DOS 3.3 and ProDOS) - PCODE (Pseudo-Code) executables that run only in the Apple II Aztec C Shells In addition to the "RAW" ProDOS 8 DHRYSTONE SYS program test noted above, I have compiled and run DHRYSTONE PCODE (pseudo-code) versions written for both Aztec C65 Unix-like SHELL's for the Apple II (also using the NSC as a timer)... the results are identical for either Shell version and are almost exactly 50% of the speed of the "RAW" ProDOS 8 results.: 1. DOS 3.3 APPLE ][ SHELL 2.4 (1983) - 19.5 DHRYSTONES/second. 2. ProDOS 8 Aztec C Shell v199j 6-27-86 - 19.5 DHRYSTONES/second. Aztec C's Unix-like Shell for the Apple II came in 2 different releases. These two shells are quite different; the earlier release is a DOS 3.3 "RAW" BRUNable BIN program called "SHELL". The later release is a ProDOS 8 SYS program called "SHELL.SYSTEM. SHELL 2.4 was released as part of the CII compiler for DOS 3.3. Although the Aztec C65 documentation suggests that the newer ProDOS compiler C65 3.2b can produce PCODE executables that run in the DOS 3.3 shell, this is apparently not correct. PCODE executables produced with the newer compiler are not (entirely) compatible with the older shell. The DHRY programs noted above were produced with 2 their two different respective versions of the C65 compiler that the Shells came with, yet they are identical. Both Shells offer commandline arguments and shell scripting, smaller executables than "RAW" programs and their own command sets which are quite useful for writing utilities that run on the Apple II. And both shells allow you to mix "RAW" code (including assembly language calls to the Apple II ROM routines and ML routines like the NSC driver) with PCODE for time critical operations. Since the run-time library source for "RAW" code is available for Aztec C65, you can also optimize standard library routines selectively for time critical operations and include these as needed. The ProDOS 8 Shell is much more robust than the DOS 3.3 Shell (which is also not too shabby when compared to Apple II BASIC). The ProDOS Shell far surpasses anything AppleSoft (BASIC.SYSTEM) has to offer when it comes to a "real command line"... the only thing that is really strongly missing is (sadly) commandline history. If you use the AppleWin emulator you can of course paste commands from the Windows Clipboard directly into the Shell's command-line to avoid repetitive typing to somewhat compensate for this... If you are willing to "take a hit" on the performance of non-time critical parts of a Shell utility program for the convenience and functionality of a "Unix-like" environment, and you mix "RAW" code into your Shell utilities for time critical operations, it is reasonable to conclude that your execution speed for Shell programs will equal (or almost equal) "RAW" speed which comes-in at double the speed (based on the DHRY benchmark). Results will of course vary depending on your program design and the raw code you insert into your Shell programs and so-forth. As with all these DHRY results, and other benchmarking I am currently doing: when complete I will provide a webpage on the Aztec C website with links and a list of benchmarks. Regards, Bill Buckels
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
DHRYSTONE 1.1 for Aztec C65 3.2b available for download "Bill Buckels" <bbuckels@mts.net> - 2013-09-12 21:23 -0500
Re: DHRYSTONE 1.1 for Aztec C65 3.2b available for download "Bill Buckels" <bbuckels@mts.net> - 2013-09-14 21:18 -0500
Re: DHRYSTONE 1.1 for Aztec C65 3.2b available for download "Bill Buckels" <bbuckels@mts.net> - 2013-09-14 21:35 -0500
Re: DHRYSTONE 1.1 for Aztec C65 3.2b available for download Steven Hirsch <snhirsch@gmail.com> - 2013-09-15 08:56 -0400
Re: DHRYSTONE 1.1 for Aztec C65 3.2b available for download "Bill Buckels" <bbuckels@mts.net> - 2013-09-15 20:40 -0500
Re: DHRYSTONE 1.1 for Aztec C65 3.2b available for download bill.rowe.ottawa@gmail.com - 2013-09-29 08:07 -0700
Re: DHRYSTONE 1.1 for Aztec C65 3.2b available for download "Bill Buckels" <bbuckels@mts.net> - 2013-10-04 05:29 -0500
Re: DHRYSTONE 1.1 for Aztec C65 3.2b available for download "Bill Buckels" <bbuckels@mts.net> - 2013-10-04 20:22 -0500
Re: DHRYSTONE 1.1 for Aztec C65 3.2b available for download Antoine Vignau <antoine.vignau@laposte.net> - 2013-10-04 19:28 -0700
csiph-web