Giter VIP home page Giter VIP logo

Comments (9)

laanwj avatar laanwj commented on June 1, 2024

Okay that is strange. I'm not sure that that disk image works. Can you try with https://download.visucore.com/sundog/new_disk.st ?

from sundog.

laanwj avatar laanwj commented on June 1, 2024

At least it seems to be image related, the output here is:

psys_bootstrap: 4 entries in global directory
Found SYSTEM.PASCAL at offset 43800
Found USERPROG at offset 0x4cc00, size 0x01dee, globals_size 0x032c
  Needs byteswap
Initial IPC at 0xd5fe:0x01:0x1ab8
  Initial TIB at 0x006e
  Initial EVEC at 0xd5ca
  Initial EREC at 0xd5d0
  Initial SIB at 0xd5da
  Initial global MSCW at 0x008a
  Initial local MSCW at 0xd5c0
  SYSCOM at 0x0000
  EXTM at 0x0060

Copyright 1985 SofTech Microsystems/FTL Games/Oasis Systems, Inc.

from sundog.

tpitman avatar tpitman commented on June 1, 2024

I will give that image a try and let you know later...

Thanks!

from sundog.

tpitman avatar tpitman commented on June 1, 2024

I replaced the st file I was using with the one you referenced. Now I am getting a different unknown opcode:

psys_bootstrap: 1024 entries in global directory
Found SYSTEM.PASCAL at offset 380400
Found USERPROG at offset 0x380400, size 0x00000, globals_size 0x0000
Needs byteswap
Initial IPC at 0xf3ec:0x01:0x0002
Initial TIB at 0x006e
Initial EVEC at 0xf3b8
Initial EREC at 0xf3be
Initial SIB at 0xf3c8
Initial global MSCW at 0x008a
Initial local MSCW at 0xf3ae
SYSCOM at 0x0000
EXTM at 0x0060
Unknown OP code 83 (0x53)
Execution error 11 (fatal)
Traceback [tib=006e sp=efa4]
:0x01:0207 mp=0xf3ae base=0x008a erec=0xf3be
:0x01:0002 mp=0x008a base=0x008a erec=0xf3be

I just noticed that all of the output values from yours seem to be a lot smaller. The very first one being 1024 entries in the global dictionary where yours is 4. Are the rest of them memory locations that might be legit or should those values match what you are showing because they are inside of the pascal system and not actual ram in my computer?

If those values should all match then obviously I have some kind of parsing issue with the system reading things wrong from the start.

Any insight would be helpful...

from sundog.

laanwj avatar laanwj commented on June 1, 2024

If those values should all match then obviously I have some kind of parsing issue with the system reading things wrong from the start.

This should all match, given the same input image. They're properties of the P-system file system. There's something weirdly off with parsing, can't say I've seen this before.

It may be an endian issue (though as far as I know, Mac is also little-endian) or something sneaky with a compiler difference / C undefined behavior thing.

from sundog.

laanwj avatar laanwj commented on June 1, 2024

If you're using some different build system: are you passing -DFLIP_ENDIAN_HACK when compiling? If not, please try it with that.

from sundog.

tpitman avatar tpitman commented on June 1, 2024

That was it!!!! Horray. Now I can work on making the input work....

Thanks a ton!

This is running on my iPad:

Screen Shot 2022-12-30 at 6 31 15 PM

from sundog.

laanwj avatar laanwj commented on June 1, 2024

That's really awesome!!!

from sundog.

laanwj avatar laanwj commented on June 1, 2024

This issue was solved and can now be closed, feel free to open a new one if you run into anything else.

from sundog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.