Page 1 of 1

OSI Assembler Editor revealed

Posted: Sat Aug 11, 2018 6:45 am
by MK14HAK
See The Assembler Editor revealed upload below.


This disk image has OS65D v3.2 NMHz DOS, ASM Editor,Exmon V3, Ed Sec and WP2.1 Word Processor.No BASIC or BASIC utilities.

Load your source file and switch with !AS or !WP between Assembler and WP2.1 retaining the source for easy editing with Cegmon full screen editor and WP2 inline and global editing with added TABs and more...

ASM-WP2.zip
(1.01 KiB) Downloaded 850 times

Re: OSI Assembler Editor revealed

Posted: Tue May 11, 2021 11:01 am
by bxdanny
I just noticed this post. But it appears to contain nothing but a text file describing what is allegedly there. What happened?

Re: OSI Assembler Editor revealed

Posted: Sat May 15, 2021 8:37 am
by MK14HAK
Sorry to omit the file at the time? The zip file here contains the missing image and Exmon v3 @ $6700 LOD file. (Doesnt crash WP2)


I have added a couple of extra commands to the DASM:

A. Rxxxx,y eg. R100,5 Renumbers source lines with 1-9 increments

A. F shows source code end of File address and end of symbol table after A.A assembly.

Boot ASM_WP2 image.
XQT DQSEC prior to ASM or WP2
!WP/!AS to swap between Word Processor and Assembler.
Backup your source code!


Exmon v3 @ $6700:

Zxxxx ascii dump (Shift + for next)
Lxxxx,yyyy disassemble range
Vzzzz=xxxx,yyyy verify memory (Shift +)
ASM_WP2.zip
(23.44 KiB) Downloaded 298 times

Re: OSI Assembler Editor revealed

Posted: Sun May 16, 2021 1:08 am
by bxdanny
It looks interesting, although I never cared much for WP-2.

But:
The disk image boots to the A* prompt, but won't accept any input.
The EXMON file can't even be extracted.

Since I had an XP Mode (virtual 32-bit OS) command prompt window open, I also tried to extract the files using good old PKUNZIP.

The results:

PKUNZIP (R) FAST! Extract Utility Version 2.50 03-01-1999
Copr. 1989-1999 PKWARE Inc. All Rights Reserved. Shareware Version
PKUNZIP Reg. U.S. Pat. and Tm. Off.

þ Pentium II class CPU detected.
þ XMS version 2.00 detected.
þ DPMI version 0.90 detected.

Searching ZIP: ASM_WP2.ZIP
Inflating: ASM_WP2.txt
PKUNZIP: (W13) Warning! inconsistent local header for file: ASM_WP2_OS-65D V3.2 (NMHZ)_upload_xtras.65D
PKUNZIP: (W10) Warning! can't create: ASM_WP2_OS-65D V3.2 (NMHZ)_upload_xtras.65D
PKUNZIP: (W13) Warning! inconsistent local header for file: Exmon3_67Disk.LOD
Inflating: Exmon3_67Disk.LOD PKUNZIP: (W23) Warning! file has bad table
PKUNZIP: (W15) Warning! file fails CRC check

PKUNZIP: (W26) Warning! ASM_WP2.ZIP has errors!

Re: OSI Assembler Editor revealed

Posted: Sun May 16, 2021 8:36 am
by MK14HAK
Agree with your thoughts on WP2. I have found the Find and Change commands and auto line numbering useful.
The image and text file in my upload above extracted fine for me.DOS worked fine also. Regarding no DOS input- are you using C4 emulation ?
Header errors with Exmon confirmed however.
Try this:
Exmon3_67Disk.zip
(2.5 KiB) Downloaded 298 times

Re: OSI Assembler Editor revealed

Posted: Sun May 16, 2021 10:44 am
by bxdanny
Yes, auto-line numbering for the Assembler is definitely a good idea.

The reason the disk image wasn't working for me is that I was using a "regular" C4P configuration, without CEGMON.

Once I switched the Monitor ROM to CEGMON, it works fine. (I'm using an "External ROM file" version that doesn't require the BASIC ROMs, and so works with 48k of RAM.)

And the reason it needs CEGMON is clear:

Code: Select all

252B EE2423 INC $2324
252E 20EBFF JSR $FFEB
2531 F0FB   BEQ $252E
2533 8D6323 STA $2363
2536 60     RTS

Your "EM v3.0" certainly seems like something worthwhile.

Re: OSI Assembler Editor revealed

Posted: Sun May 23, 2021 9:08 am
by MK14HAK
The Assembler Editor revealed upload here contains a bunch of files for both the cassette and disk versions of the assembler editor:

OSI Assembler Editor revealed.txt - reveals the inner workings of the psuedo processor SCPU
SCPU Functions Detailed.txt - describes the SCPU functions
ASM_ED_Cass3_Commented_updated -partial disassembly of the cassette version
CassASM src Ext HMEMFEOF-EOSQ.LOD -source file for Hxxxx HIMEM , Mxxx-offset ,F EOF EOS commands for the extensions I added
ASM_ED_Cass _Extended upload.LOD -versions with extensions H,M and TABs R-I

DISK_ASMEd_Commented7 -partial disassembly of the disk version

The Assembler Editor is an interesting and challenging piece of code. There are likely errors in my disassembly but it should give you start in understaning its workings.
OSI Assembler Revealed.zip
(62.88 KiB) Downloaded 300 times