That's brilliant. I just glibly followed the manual without even
thinking about the memory start address.
I had:
ORG 0CC00H
which puts the prog at 52224, but I had only cleared 52472. I knew that
I didn't understand CLEAR well enough! You've made my day, I was
dragging a bit thinking something was wrong with my machine or
something, but this definitely makes sense, so here's hoping that will
resolve it. I will give it a shot this afternoon.
Will
On 10/20/22 6:09 AM, Stephen Adolph wrote:
ZBUG runs uses 52472 to 62475
I think if you want to compile at, say CC00H = 52224 then you have to
have issued a clear command that makes that RAM available.
ex.
Clear 0, 48000
lets you compile at 48000 AND load/run ZBUG at 52472,
..Steve
On Thu, Oct 20, 2022 at 7:00 AM Stephen Adolph <[email protected]>
wrote:
where did you set the start of the assembly to compile to?
possible you are compiling to a protected memory space like the
lower 32k, or a space that overlaps the M100 OS, files, etc.?
On Thu, Oct 20, 2022 at 12:38 AM Will Senn <[email protected]>
wrote:
I get the impression that the TRS-80 Model 100
Assembler|Debugger, aka ZBUGASM can't really be run from RAM.
Has anyone tried it successfully?
I used TEENY and dl to get ZBUG.BA <http://ZBUG.BA> and
ZBUG.CO <http://ZBUG.CO> loaded onto my 32K RAM m100. I then
ran zbug.ba <http://zbug.ba> (which is a basic stub to clear
memory and run the assembler)... fine, it loaded up the
assembler no problem. I then typed in a small asm example into
TEXT from the book, saved it, and tried to assemble it from
ZBUG but got an out of memory OM ERROR. ZBUG.CO
<http://ZBUG.CO> is 8K on disk, after getting it on to the
disk, I'm left with about 12K. I deleted ZBUG.BA
<http://ZBUG.BA>, TEENY.CO <http://TEENY.CO> and every other
file, recleared memory and still get the OM ERROR when trying
to assemble. Seems like it ought to be enough to do an
assembly. The manual does make mention of loading it from tape
if memory's tight, but surely it would have said that it was
required to load it from tape and not provide instructions for
saving to and running from RAM if it could not be run from memory?
Thanks,
Will