AminetAminet
Search:
84713 packages online
About
Recent
Browse
Search
Upload
Setup
Services

misc/emu/spectrum-1.7_src.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Sinclair ZX Spectrum Emulator (sources)
Author:Peter McGavin
Uploader:amigasourcecodepreservation gmail com
Type:misc/emu
Version:1.7
Architecture:generic
Date:2017-03-24
Download:http://aminet.net/misc/emu/spectrum-1.7_src.lha - View contents
Readme:http://aminet.net/misc/emu/spectrum-1.7_src.readme
Downloads:1561

Source code for the Sinclair ZX Spectrum Emulator by Peter McGavin.
Binaries: http://aminet.net/package/misc/emu/spectrum-1.7
Uploaded to aminet for historical preservation.
Many thanks to Peter McGavin for releasing the source code.

Author notes:
============

The source files are all assembled with Macro68 Release 2.129 and linked with
blink version 7.2.  I used A68k version 2.71a until about December 1991 (i.e,
Spectrum version v1.0).  I did not have the C= include files until I purchased
Macro68, and there are still many definitions that should be changed to use the
official includes.  Macro68 has all the C= include files preloaded, so
"include" statements are not necessary.

Source files are as follows:

	arp.i		Offsets for arp.library
	common.i	Common definitions (included by all #?.a files)
	z80data.i	Structures used by z80 emulator
	z80macros.i	Macros used by z80 emulator
	checkproc.a	Determine and test processor type
	common.a	Data for common definitions
	debug.a		Z80 monitor
	display.a	Handles all screen output
	help.a		Reads and displays IFF help file
	input.a		Handles keyboard and other IDCMP events
	joystick.a	Handles joystick
	loader.a	Tape loader and disk LOAD/MERGE/SAVE
	loadsave.a	Snapshot loader and saver
	main.a		Main line of program
	ports.a		Like AMIGA.LIB CreatePort() and DeletePort()
	request.a	Handles simple requesters and file requesters
	rom.a		Reads ROM from disk file
	sound.a		Handles audio BEEPs
	tasks.a		Like AMIGA.LIB CreateTask() and DeleteTask()
	window.a	Opens intuition screen, window and menus
	z80.a		The z80 emulator
	z80data.a	Data used by the z80 emulator

	compile.script	CLI "execute" script to assemble all the source files
	link.script	CLI "execute" script to link the executable
	backup.script	CLI "execute" script to back up sources to floppy

In the z80#? files, I used ideas from Ulf Nordquist's CP/M emulator on Fred
Fish disk 165.  I have fixed a few bugs (and probably introduced some new
ones), eliminated self-modifying code, added some instructions that were
missing, implemented interrupts, and generally sped up the code by reorganising
flag and register usage.  There still seem to be a few bugs.

Before assembling you should edit common.i to change a few equates.  If you
look there you will see lots of different options you can select.

Assembling and linking are done from the CLI or SHELL.  Make sure Macro68 and
Blink are installed, cd to the directory with all the source files, then
"execute compile.script" and "execute link.script".  This takes about 35
seconds on an A3000.

If you change only a single ".a" file, you don't need to re-assemble
everything.  Just "macro68 the_changed_file.a -o the_changed_file.o", then
"execute link.script".

If you change a ".i" file, you have to re-assemble all the ".a" files that
include it, directly or indirectly.  It's best just to re-assemble everything.


License
=======
Sinclair ZX Spectrum Emulator is distributed under the terms of the GNU General Public License,
version 2 or later. See the COPYING file for details.

Cheers!
https://twitter.com/AmigaSourcePres

  _____ ___   _   __  __     _   __  __ ___ ___   _   
 |_   _| __| /_\ |  \/  |   /_\ |  \/  |_ _/ __| /_\  
   | | | _| / _ \| |\/| |  / _ \| |\/| || | (_ |/ _ \ 
  _|_| |___/_/ \_\_|_ |_|_/_/_\_\_|__|_|___\___/_/_\_\
 / __|/ _ \| | | | _ \/ __| __|  / __/ _ \|   \| __|  
 \__ \ (_) | |_| |   / (__| _|  | (_| (_) | |) | _|   
 |___/\___/_\___/|_|_\\___|___|__\___\___/|___/|___|_ 
 | _ \ _ \ __/ __| __| _ \ \ / /_\_   _|_ _/ _ \| \| |
 |  _/   / _|\__ \ _||   /\ V / _ \| |  | | (_) | .` |
 |_| |_|_\___|___/___|_|_\ \_/_/ \_\_| |___\___/|_|\_|
                                                      




Contents of misc/emu/spectrum-1.7_src.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 1321    3178  41.6% -lh5- 44c0 Mar 24 19:32 spectrum-1.7_src/arp.i
[unknown]                  357    2242  15.9% -lh5- 34c3 Jun  6  1993 spectrum-1.7_src/backup.script
[unknown]                  220     971  22.7% -lh5- 0a98 Apr 22  1993 spectrum-1.7_src/build.script
[unknown]                  910    2233  40.8% -lh5- 819f Mar 24 19:32 spectrum-1.7_src/checkproc.a
[unknown]                  637    1294  49.2% -lh5- c2cf Mar 24 19:32 spectrum-1.7_src/common.a
[unknown]                 2829    8207  34.5% -lh5- 03bd Mar 24 19:32 spectrum-1.7_src/common.i
[unknown]                  207     845  24.5% -lh5- 4db3 May 16  1993 spectrum-1.7_src/compile.script
[unknown]                12641   35147  36.0% -lh5- 7994 Feb 25 23:05 spectrum-1.7_src/COPYING.txt
[unknown]                 3663   13354  27.4% -lh5- 8a39 Mar 24 19:32 spectrum-1.7_src/debug.a
[unknown]                17773   70325  25.3% -lh5- 66a0 Mar 24 19:32 spectrum-1.7_src/display.a
[unknown]                  166     668  24.9% -lh5- 9fa6 Jun  6  1993 spectrum-1.7_src/dist.script
[unknown]                  751    1531  49.1% -lh5- 7c94 Mar 24 19:32 spectrum-1.7_src/dos.i
[unknown]                 1240    3160  39.2% -lh5- 99d5 Mar 24 19:32 spectrum-1.7_src/exec.i
[unknown]                 1308    3332  39.3% -lh5- e4dd Mar 24 19:32 spectrum-1.7_src/graphics.i
[unknown]                 4065   13234  30.7% -lh5- e321 Mar 24 19:32 spectrum-1.7_src/help.a
[unknown]                 4621   15382  30.0% -lh5- cc1f Mar 24 19:32 spectrum-1.7_src/input.a
[unknown]                 1137    2714  41.9% -lh5- 0d4d Mar 24 19:32 spectrum-1.7_src/intuition.i
[unknown]                 1206    2758  43.7% -lh5- 80d6 Feb  7  1993 spectrum-1.7_src/issues.txt
[unknown]                 3531   12570  28.1% -lh5- 280d Mar 24 19:32 spectrum-1.7_src/joystick.a
[unknown]                  171     456  37.5% -lh5- 9504 May 16  1993 spectrum-1.7_src/link.script
[unknown]                 9509   32980  28.8% -lh5- 36b7 Mar 24 19:32 spectrum-1.7_src/loader.a
[unknown]                 2718    9687  28.1% -lh5- 7da3 Mar 24 19:32 spectrum-1.7_src/loadsave.a
[unknown]                 3622   10629  34.1% -lh5- 63a2 Mar 24 19:32 spectrum-1.7_src/main.a
[unknown]                 1459    4124  35.4% -lh5- eba2 Mar 24 19:32 spectrum-1.7_src/ports.a
[unknown]                 3107   10470  29.7% -lh5- 6218 Mar 24 19:32 spectrum-1.7_src/request.a
[unknown]                 1159    2498  46.4% -lh5- 3a8b Mar 24 19:32 spectrum-1.7_src/rom.a
[unknown]                 3828   13040  29.4% -lh5- 7fd1 Mar 24 19:32 spectrum-1.7_src/saveaudio.a
[unknown]                 4031   11931  33.8% -lh5- 8413 Mar 24 19:32 spectrum-1.7_src/sound.a
[unknown]                 1273    2629  48.4% -lh5- 9bb8 Mar 24 20:30 spectrum-1.7_src/source.doc
[unknown]                  141     302  46.7% -lh5- 8363 Mar 17  1992 spectrum-1.7_src/Spectrum-00-special.info
[unknown]                  142     302  47.0% -lh5- 822b Mar 17  1992 spectrum-1.7_src/Spectrum-00.info
[unknown]                 1811    3912  46.3% -lh5- af58 Mar 24 20:32 spectrum-1.7_src/spectrum-1.7_src.readme
[unknown]                  141     302  46.7% -lh5- 1dd1 Mar 17  1992 spectrum-1.7_src/Spectrum-10.info
[unknown]                  141     302  46.7% -lh5- 8606 Mar 17  1992 spectrum-1.7_src/Spectrum-20.info
[unknown]                17078   42217  40.5% -lh5- 850f Jun  7  1993 spectrum-1.7_src/Spectrum.doc
[unknown]                  449    2570  17.5% -lh5- 1093 Mar 17  1992 spectrum-1.7_src/Spectrum.doc.info
[unknown]                41772   70994  58.8% -lh5- cfa9 Sep  3  1991 spectrum-1.7_src/Spectrum.help
[unknown]                12274   16384  74.9% -lh5- 2b35 Apr  1  1990 spectrum-1.7_src/Spectrum.rom
[unknown]                 8485   50332  16.9% -lh5- f0ec Feb 21  1993 spectrum-1.7_src/Spectrum2.help
[unknown]                 1466    3619  40.5% -lh5- 3c23 Mar 24 19:32 spectrum-1.7_src/tasks.a
[unknown]                 3734    7832  47.7% -lh5- 13bd Jun  6  1993 spectrum-1.7_src/todo.txt
[unknown]                 5467   18307  29.9% -lh5- 840d Mar 24 19:32 spectrum-1.7_src/window.a
[unknown]                27861  189091  14.7% -lh5- af52 Mar 24 19:32 spectrum-1.7_src/z80.a
[unknown]                 3253   22765  14.3% -lh5- 09ce Mar 24 19:32 spectrum-1.7_src/z80data.a
[unknown]                 1702    3889  43.8% -lh5- f1ce Mar 24 19:32 spectrum-1.7_src/z80data.i
[unknown]                 6806   36402  18.7% -lh5- 3a15 Mar 24 19:32 spectrum-1.7_src/z80macros.i
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        46 files  222183  761111  29.2%            Mar 24 21:47

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>