![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-14 23:19 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS开发编程 & 发展交流 (开发室) » Found in a hard drive—spasm |
| Printable Version 3,685 / 4 |
| Floor1 tinlin | Posted 2009-07-30 02:05 |
| 初级用户 Posts 76 Credits 160 | |
|
A thing called spasm
Description as follows: Enclosed is a zip file of 2 programs originally written for CPM but has an attached 8080 emulator and runs under MS-DOS (windows) The first program is SPASM - single pass assembler. The syntax for the assembler source is 8080 opcodes and is close to the ASM.COM that came with CPM 2.2 It produces relocatable code, but doesn't use the EXTRN or PUBLIC - instead uses IMPORT but not for variables but for modules. I'll be able to provide some nice code written for this assembler including a floating point package (written for the SPL compiler). The syntax is SPASM filename with filename in ZCPR format drive/user etc. You can specify options afterwards. /S will generate a listing to screen. /F will generate a listing file (and, I believe, /L will send it to a printer). The synax for SLINK filename or SLINK comfile=objects. There are some options which from memory - until I find the documentation - include /M generate map file, /C:hhhh start code at someplace instead of default 100H, /D:hhhh start data at instead of after code and /S to use prior file as library file. The programs here are .EXE and run under MS-DOS directly. SPASM produces a .OBJ from .ASM, SLINK produces .COM from .OBJ (and .LIB). Attachments SPASM.rar (8.43 KiB) SLINK.rar (7.09 KiB) |
|
| Floor2 cnch | Posted 2009-08-15 09:26 |
| 中级用户 Posts 70 Credits 326 | |
|
Really old software
|
|
| Floor3 qingwashaoye | Posted 2017-02-01 23:47 |
| 中级用户 Posts 74 Credits 271 | |
|
Great stuff, thanks for sharing
|
|
| Floor4 本是 | Posted 2017-11-29 09:09 |
| 银牌会员 Posts 790 Credits 2,227 | |
|
Download and try it, thanks for sharing!
|
|
| Floor5 zzz19760225 | Posted 2017-11-29 11:34 |
| 超级版主 Posts 2,020 Credits 3,673 | |
|
spasm - single pass assembler under cp/m-80 version 2.06 (c) copyright 1986,87,88,89,90 all rights reserved -- by: harris landsberg
Spasm - single pass assembler under cp/m-80 version 2.06 (c) Copyright 1986, 87, 88, 89, 90 All rights reserved -- by: Harris Landsberg slink - object code file linker for cp/m-80 version 2.07 (c) copyright 1986,87,88,89 all rights reserved -- by: harris landsberg Slink - object code file linker for cp/m-80 version 2.07 (c) Copyright 1986, 87, 88, 89 All rights reserved -- by: Harris Landsberg Attached is a zip file with 2 programs originally written for CPM but with an additional 8080 emulator and runs under ms-dos (windows) The first item is spasm -- single pass assembler. The syntax of the assembly source is 8080 opcodes and close to ASM.COM CPM 2.2 generates floating point code, but not using EXTRN or PUBLIC, instead using IMPORT instead of variables but for modules. I can provide some nice code written This assembler includes a floating point package (written by the SPL compiler). The syntax is spasm filename with ZCPR format filename drive/user, etc. You can specify options. /S will generate a Listing screen. /F will generate a listing file (I believe, /L Send it to the printer). The syntax of slink filename or slink comfile = object. There are some options from memory until I found Documentation -- including /M to generate map file, /C:hhhh start character code Somewhere instead of default 100 h /D:hhhh start character Code and /S use previous files as library files. Here's the project. exe Runs directly under ms-dos. Spasm generates. OBJ. ASM, slink Generates. COM. OBJ (lib). [ Last edited by zzz19760225 on 2017-11-29 at 14:29 ] |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |