Re: ZX81 Mcoder II, trying to compile.



Nama wrote:

So I've written a half decent game. I'd guess that it takes up about
5k of memory, and now I want to use Mcoder II to compile it.

I have followed all the instructions. loaded Mcoder II, then load my
program, then I do the 'LET L=USR 32462' to 'push mcoder into
posittion'. I then get:

C/7294

I have no line number 7294, so I find this a little odd.

Yeah, that'll be a crash.

I was wracking my brains here trying to remember how this worked - it must be nearly 25 years since I used it - and then it struck me (Ouch! -Ed.): I take it you're using an emulator? It's distinctly possible that its circumvention of the ROM tape routines (to load .P or .81 files) clears MCoder from memory whenever you LOAD anything. In which case you're stuffed. Unless your emulator will load directly from tape (or you have a real '81 handy) you'll have to re-type your entire program with MCoder in memory.

If I were you, I'd enter a shorter program with MCoder in memory and try to compile that, just to check that the compiler actually works first, because I could well be totally wrong and it's simply your copy of MCoder that's buggered.

--
Duncan Snowden.



.



Relevant Pages

  • ZX81 Mcoder II, trying to compile.
    ... So I've written a half decent game. ... 5k of memory, and now I want to use Mcoder II to compile it. ...
    (comp.sys.sinclair)
  • Re: Saving program state in executable
    ... UML or OWL data using XML's DOM model, it takes quite a while to load ... The overhead is mostly the textprocessing and parsing of the XML models. ... 'const' record, or set of records, at compile time, and that might be ... knows it is one block of memory (assuming it doesn't contain e.g. ...
    (comp.lang.pascal.misc)
  • Re: Scripting (ECMA script) solution for .NET app?
    ... You get the source as a string, you compile it to an in memory ... you load it and instantiate classes from it. ...
    (microsoft.public.dotnet.languages.csharp)
  • ZX81 Chopper Drop 3000 Redux
    ... With much help and hardwork from Siggi in getting the original basic ... program to compile in Mcoder II, and a bunch of rewriting from me to ... overcome some of Mcoder II's quirks. ... Hopefully Siggi can help me compile it for 16k soon, ...
    (comp.sys.sinclair)