• R/O
  • HTTP
  • SSH
  • HTTPS

ソースツリー

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Motorola M6800 (6800) Exorciser / SWTPC emulator plus 6801 instruction set emulation


名前 サイズ Rev. 日時 作者 ログメッセージ
doc
fortran
mpl
6801test.68c 1.32 k b9eccc1 2020-11-16 00:16:42 Joel Matthew Rees unasm now has 6801 stuff and is light...
COPYING 12.2 k 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
Makefile 2.66 k 73ec185 2020-11-22 02:03:25 Joel Matthew Rees buggy in 6800 mode, not sure why
README.md 4.91 k 9ab8a1b 2016-01-31 00:25:38 Joe Allen fix link
TODO 1.06 k 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
asm6800.c 26.92 k b083fd0 2020-11-22 22:37:11 Joel Matthew Rees 6801 additions and command-line switc...
asm6800.h 150 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
exbug.bin 64 k 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
exor.c 49.47 k 73ec185 2020-11-22 02:03:25 Joel Matthew Rees buggy in 6800 mode, not sure why
exor.h 101 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
exorsim.c 936 b083fd0 2020-11-22 22:37:11 Joel Matthew Rees 6801 additions and command-line switc...
exorsim.h 996 73ec185 2020-11-22 02:03:25 Joel Matthew Rees buggy in 6800 mode, not sure why
exorterm.c 21.37 k 0203aae 2020-11-05 22:20:15 Joel Matthew Rees cleaning up the output of make (not C...
exorterm.h 159 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
facts 8.3 k 2c3956a 2020-11-08 17:51:18 Joel Matthew Rees initial mods for 6801, test files (fi...
fig-forth6801_exorsim.68c 69.12 k 92ef8a2 2022-09-03 00:57:21 Joel Matthew Rees Fixing the embarrassing CPX bug -- C ...
fig-forth_exorsim.68c 68.71 k 2c3956a 2020-11-08 17:51:18 Joel Matthew Rees initial mods for 6801, test files (fi...
flex.dsk 1.41 M 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
forthtests.fs 573 7b9a5a5 2020-11-17 19:51:19 Joel Matthew Rees forth conversion complete
mdos.c 35.21 k 0203aae 2020-11-05 22:20:15 Joel Matthew Rees cleaning up the output of make (not C...
mdos.dsk 250.25 k 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
mon.c 16.51 k 0203aae 2020-11-05 22:20:15 Joel Matthew Rees cleaning up the output of make (not C...
mon.d 119 2c3956a 2020-11-08 17:51:18 Joel Matthew Rees initial mods for 6801, test files (fi...
sim6800.c 42.22 k 92ef8a2 2022-09-03 00:57:21 Joel Matthew Rees Fixing the embarrassing CPX bug -- C ...
sim6800.h 997 0203aae 2020-11-05 22:20:15 Joel Matthew Rees cleaning up the output of make (not C...
swtbug.bin 64 k 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
unasm.c 3.5 k cc0e06a 2020-11-22 17:23:23 Joel Matthew Rees unasm changed to runtime option for 6...
unasm6800.c 21.09 k cc0e06a 2020-11-22 17:23:23 Joel Matthew Rees unasm changed to runtime option for 6...
unasm6800.h 409 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
utils.c 9.39 k 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository
utils.h 656 94d204d 2016-01-30 04:50:23 Joe Allen Move exorsim to its own repository

README.md

EXORsim - Motorola EXORciser Simulator

Links

MDOS quick start
MDOS reference
MDOS technical information
EXORsim usage guide
MPL language
EXORterm info

Introduction

<

p>EXORsim simulates a Motorola EXORciser, which was a development system that Motorola sold in the late 1970s and early 1980s for the 8-bit 6800 microprocessor. Some pictures of this development system can be found at Pekka Tanskanen's website here.

<

p>EXORsim also simulates a SWTPC 6800 Computer System, which allows you to run the TSC FLEX operating system.

EXORsim now emulates an EXORterm! I was finally able to find manuals for the EXORterm 155, so I've implemented an emulator for it. This allows the EDITORM Resident Editor to operate in screen mode.

<

p>The EXORterm emulator operates as a filter between the EXORciser and the user's ANSI terminal emulator (such as XTerm). This allows you to use terminal emulator features such as scroll-back. I find this to be more useful than some emulators which run under MS-Windows, but provide only a very rudimentary terimnal.

<

p>EXORsim provides these features:

  • Simulates 6800 CPU and the following peripherals:
    • ACIA serial port.
    • Line printer port.
    • Floppy disk controller:
      • EXORdisk-II floppy diskette controller emulated by intercepting calls to the controller ROM
      • FD1771 hardware emulation for MF68 with DC_1 controller floppy drive
  • Provides a separate command, MDOS, which allows you to read and write files to MDOS diskette images.
  • Provides a stand-alone 6800 disassembler.
  • Includes a powerful debug monitor which allows you to:
    • Assemble 6800 directly to memory. The assembler is symbolic and powerful enough to assemble programs in the Motorola User's Group Library. One way is to select the entire source listing from the web-browser and paste into the monitor after starting the "a" command.
    • Disassemble memory to the screen.
    • Load and save Motorola S19 files / tapes.
    • Load and save binary images.
    • Trace program execution.
    • Single step and continue until breakpoint. A trace buffer is provided, so you can see the instructions which led up to the breakpoint.
    • Call a 6800 subroutine and return to debug monitor when it returns.
    • Hex dump and memory/register modifiction.
  • The output from the disassembler and the tracing features of the debug monitor are annotated with a information from a "facts" file. For example, this file will have known hardware addresses, MDOS system calls, etc. It's not as powerful as IDA, but it works well enough for small programs.


Build instructions

Just type "make" to compile it:

exor    This is the simulator

mdos    This provides file access to MDOS diskette images

unasm   This is a stand-alone 6800 disassember

Right now the exbug.bin and swtbug.bin files must be in the current directory.

To run the simulator:

./exor mdos.dsk

You can get MDOS disk images here:

ftp://bitsavers.informatik.uni-stuttgart.de/bits/Motorola/mdos/

You need to use "ImageDisk" to extract the binary data from from the .IMD files.

imdu disk.imd disk.dsk /b

You can get ImageDisk from here:

http://www.classiccmp.org/dunfield/img/index.htm

Documentation about MDOS can be found here:

http://www.bitsavers.org/pdf/motorola

    M68MDOS3_MDOS3um_Jun79.pdf  Operating system user's manual.
    MEK6800D2.pdf           Microprocessor datasheet
    M6800_Microprocessor_Applications_Manual_1975.pdf
    Motorola_M6800_Programming_Reference_Manual_M68PRM(D)_Nov76.pdf

Some text documentation and notes can be found here:

EXORsim usage guide

To run FLEX2:

./exor --swtpc flex2.dsk

You can get FLEX2 disk images here:

http://www.evenson-consulting.com/swtpc/Downloads.htm

Download the "FULL kit", install it and find the FLEX2 .DSK files.