<div dir="ltr">There are a lot of missing features in this macro11 already that are handled as no-ops, mostly regarding the listing. To do this properly would require implementing much of the missing listing functionality like paging, page titles, etc.<div><br></div><div>I think the first step is to make it not fail on existing code, then worry about the listing after that. </div><div><br></div><div>The parser knows most of the directive names, but is not designed to do anything about them. For example, it parses the ".page" command, but then doesn't handle doing anything with it, which is what causes the error mentioned above. Telling it that it is a no-op for now allows programs to be compiled, but since there isn't any paging being done in the listing, there is nothing for it to do right now.</div><div><br></div><div>The '.rept 0' thing is obviously a difference in how things are done differently in the real macro11 and this re-implementation that should be addressed. I don't know how the code for that works right now, so I don't know how hard it would be to fix it.</div><div><br></div><div>I started playing with this to get example code to run on bare hardware, since macro11 exists under the actual OS's, so sample code that runs on the bare hardware would be useful to this, and also to the PiDP11 folks as well as those with real PDP11's. Is there a repository of such code already?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 1:10 PM Rhialto <<a href="mailto:rhialto@falu.nl">rhialto@falu.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu 05 Mar 2020 at 17:10:29 -0700, Kevin Handy wrote:<br>
> A quick fix to make PAGE a no-op, would be to add a line in assemble.c<br>
> right after the line<br>
>    case P_PRINT:<br>
> and add the line<br>
>    case P_PAGE:<br>
> <br>
> I don't think that much of the listing ops really work anyway.<br>
<br>
Indeed. And the exact layout of the listing differs in details from the<br>
RSX version too. But maybe it makes sense to add a one-time warning for<br>
this kind of unimplemented but not vital directives?<br>
<br>
-Olaf.<br>
-- <br>
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl<br>
___  Anyone who is capable of getting themselves made President should on<br>
\X/  no account be allowed to do the job.       --Douglas Adams, "THGTTG"<br>
</blockquote></div>