Giter Club home page Giter Club logo

metamage_1's Introduction

Metamage Repository #1

This is a monolithic repository of Metamage source code that doesn't have its own home. For build instructions, see the HOWTO.

The following components are not original Metamage code:

  • Nitrogen and Nucleus (Lisa Lippincott, Marshall Clow, and Josh Juran; Boost license)
  • contrib (various authors and licenses)
  • POSIX-headers (various authors and licenses)
  • chmod, date, test, du, grep, head, printenv, strings, tee, tr, and wc scripts (Perl Power Tools)
  • mac/contrib and any .lib files (Apple)

Any other credits are acknowledged in the individual source files in which they appear.

All other components are copyright Joshua Juran and released under either the GNU GPL version 3 (or later) or the GNU AGPL version 3 (or later).

metamage_1's People

Contributors

jjuran avatar kkaisershot avatar lewellyn avatar mclow avatar swolegoal avatar targetdisk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

metamage_1's Issues

MacOS Compatibility Question

Is Advanced Mac Substitute compatible with Ventura? I am running 13.5 on an M1 Mac. It appeared to build correctly and created the application bundles for Nyanochrome Cat and Tic-tac-toe, but they both immediately crash when I open them.

SDL2 or Libretro backends

Hello there, Josh!

I am very excited over this AMS project of yours, I read about it on hackaday yesterday!
So I have been trying it, and it seems to use the old fbdev graphics backend. Would it be possible that it gets an SDL2 or LIbretro backend?
That would allow CPU-free screen scaling using the GPU (particularly useful for Raspberry Pi setups with no Xorg running at all!) via underlying GLES2. You don't have to program GLES2 or KMS/DRM (modern Linux framebuffer), you just port to SDL2 or Libretro, and you get free support for a LOT of systems in a modern way.

Libretro in particular would give free supports for shaders. But SDL2 would be more than enough! :)
What do you think?

MacRelix: CTRL+C in sh

While using sh (not running a command), CTRL+C dosnt clear/cancel the current line/input.

Mac OS 11.2.1 “Big Sur”: Compilation fails on beep.cc

mac/libs/mac-sys-utils//mac_sys/beep.cc:16:10: fatal error: 'Sound.h' file not found
#include <Sound.h>
         ^~~~~~~~~
1 error generated.
wait status from command: 256
make: *** [ams-osx-build] Error 2

How, if at all, can one obtain Sound.h?

MacRelix: PWD in sh's PS1

Hey! Thanks for your work on MacRelix, it's very impressive and I'm enjoying it so far. I wanted to customise my PS1 to indicate the current working directory, but I couldn't find any way to set that.
Looking in the code, it seems like the contents of the current shell level's PS variable are just printed verbatim.
Variable expansion would be something of a big ask and so I doubt you have any interest in implementing that, but perhaps there could be some basic "format-esque" parameters set in the PS1-4 variables that are replaced with information immediately before the prompt is printed?
ie. setting PS1='%P %% ' would result in a normal prompt of "/ % " if the current working directory is /.

MacRelix: hang on netshare

When trying to list a network share with ls, it just hangs. A force quit is neccessary to kill it, MacRelix cannot be Quit but the window can be closed.

macrelix-share-hang

Authentication failed for '... freemount.git/'

Cannot compile when cloned to my repostory:

sudo apt-get -y install libssl-dev
(...)

INSTALL_PREFIX=/usr ./configure
make ams-x11
Cloning into '../freemount'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/probonopd/freemount.git/'
make: *** [../freemount] Error 128

The problem is that it is looking for freemount.git at https://github.com/probonopd but it is not there, but at https://github.com/jjuran. Hence https://github.com/jjuran somehow needs to be hardcoded.

Build log:
https://travis-ci.com/probonopd/metamage_1/builds/109089940

The Travis CI script I am working on:
https://github.com/probonopd/metamage_1/blob/patch-1/.travis.yml

Running apps from disk images

This is a very interesting project. Following the instructions here (https://www.v68k.org/advanced-mac-substitute/howto/) I got AMS compiled and installed (Raspberry Pi 4 / Raspbian). Tests work fine. Attempted to try the Lode Runner example, but at the AMS_DISK=Lode_Runner.dsk AMS_APPNAME="Lode Runner" make ams-osx step I get "no rule to make target amx-osx." No surprise there, I built for x11. However, when I try AMS_DISK=Lode_Runner.dsk AMS_APPNAME="Lode Runner" make ams-osx I get "make: *** No rule to make target 'ams-x11'. Stop."

One possibility is that I'm executing this from the wrong directory (since I had to adjust the mv path). To rule this out, would you mind sharing the absolute path you are in when executing the mv and subsequent AMS_DISK= directive?

I assume that the example with Lode Runner is extracting the 68K binary from the disk image? Is it is simply grabbing a single executable file from the disk or something more extensive (like merging the resource fork and/or supplemental files)? IOW, could the same be accomplished by mounting the disk image and copying the file to Linux?

AMS compilation errors on Mojave

I really want to give Advanced Mac Substitute a try -- seems like a really cool project! (And I love the name.)

However trying to compile it using make ams-quartz-demo on macOS 10.14 yields errors.

First I hit is right after cloning portaudio-mirror:

sh: line 0: cd: var/links: No such file or directory
v/bin/portaudio-pkg.vx:53
    ERROR: uncaught exception: (module [("command" => "cd var/links && ln -s ../../../portaudio-mirror"), ("exit" => 1)])
make: *** [sndtrack] Error 1

I can work around this with mkdir -p var/links

That gets things a little farther along, but then it breaks again with:

./build.pl -i graft mbin xv68k macvx minivx freemountd Amethyst Amphitheatre
...
CC    Nitrogen/Fonts.cc
nitric//Nitrogen/Fonts.cc:19:10: fatal error: 'missing/Fonts.h' file not found
#include "missing/Fonts.h"

Looks like that one is in an #ifdef MAC_OS_X_VERSION_10_7 and since this is not 10.7 I commented out the offending line, hoping that wasn't meant to apply to 10.7 and later.

Compilation continued until it hits another similar failing include:

CC    Nitrogen/Quickdraw.cc
In file included from nitric//Nitrogen/Quickdraw.cc:14:
nitric/Nitrogen/Quickdraw.hh:30:10: fatal error: 'missing/Quickdraw.h' file not found
#include "missing/Quickdraw.h"

Commenting out this line doesn't work though, as I get a ton of errors about missing old school QuickDraw constants. So I guess I needed those headers after all, though I can't find them anywhere.

Any idea what I need to do to get compilation to work?

Mention in the README what Metamage actually is.

I stumbled here because I found the reimplementaiton of the Classic Mac OS API. I clicked the source out of curiousity and found a "68k" folder in a monorepo with very little information on what it's for.

I'm very curious as to what all of this is?

macOS Mojave AMS really slow

Hi,

I thought it was a good thing to start another Issue.

I tried NyanCat and apparently it “works” only when I move the cursor. Otherwise it freezes.

Anyway the overall experience is nah... not good. It is quite unusable. (it improved since first time)

How can I help?

Best, u

Edit:
I made a video of it. Anyway it’s (far) better than the first times with Tic-tac-toe (I didn’t try it yet again).

output

Compilation error

Hi,

I've followed the build steps (git clone, make ams-osx), but unfortunately this results in a compilation error on my system (OSX 10.14.2, XCode 10.1): CarbonSound is missing, and is nowhere to be found.

Build step: ./build.pl -i vx

CC    library.cc
LINK  vx
ld: library not found for -lcrypto
clang: error: linker command failed with exit code 1 (use -v to see invocation)
wait status from command: 256
make[1]: *** [app-build-tools] Error 2
CC    Mac/AppleEvents/Types/AECoercionHandler.cc
In file included from nitric//Mac/AppleEvents/Types/AECoercionHandler.cc:6:
In file included from nitric/Mac/AppleEvents/Types/AECoercionHandler.hh:34:
In file included from nitric/Mac/AppleEvents/Types/DescType.hh:12:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:34:10: fatal error: 
      'CarbonSound/CarbonSound.h' file not found
#include <CarbonSound/CarbonSound.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

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.