RE: [midatlanticretro] Question about Assembly/CUTTER/VDM-1
- Hi Bill,
The 'D3 8C' is an OUT instruction. This is an I/O address, not a memory address.
I don't have anything at hand to remind me the I/O addresses used by a VDM card
configured for CUTTER.
I would keep the VDM init code, in case the rest of the program expects the card
to be in some other state besides the one CUTTER sets it to. The program seems
to want to load and execute at address $0000. You will notice the JMPs and CALLs.
The one "odd ball" thing about this program is that it seems to expect the VDM
memory buffer to be at $8800. This is not where CUTTER wants it, so this is probably
not where yours is. I would think yours is at $CC00, that is where CUTTER expects
it. The loop starting at $000A (label ST) fills the buffer with 20H (space character).
I can probably tell you about the I/O addresses when I get home.
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org]On Behalf Of Bill Degnan
> Sent: Monday, March 30, 2009 2:36 PM
> To: email@example.com
> Subject: [midatlanticretro] Question about Assembly/CUTTER/VDM-1
> I wish to understand how to move the memory used by the following program
> info below the 8000 page boundary, and whether I need to initialize VDM-1
> or just skip, in the following exercise from Dr. Dobbs:
> Could someone explain to me whether I need the first 2-9 lines of this
> code, if using CUTTER? I am also thinking of changing lines like
> 0005 D3 8C
> 0005 D3 4C
> ...to move to a place where I have space in memory (rather than adding more
> memory to the computer). I am correct to just change the 8's to 4's
> (assuming there's free space)? Note the places in the code with the
> My IMSAI uses 0000 through 7FFF for RAM and CUTTER is written to C000-Cxxx
> using the memory on the general purpose card.
> Yahoo! Groups Links
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.238 / Virus Database: 270.11.23/2016 - Release Date: 03/30/09 08:40:00