Index of /MMBasic/macOS_arm64/

NameLast ModifiedSizeType
../ -  Directory
README.txt2026-May-27 09:59:251.3Ktext/plain; charset=utf-8
mmb4l.tar.gz2026-May-27 08:32:443.9Mapplication/x-gtar-compressed

### Code forked from https://github.com/thwill1000/mmb4l 
### patched to run on MacOS arm64 

### Tested on 

ProductName:		macOS
ProductVersion:		26.5
BuildVersion:		25F71


### BUILDING ### 
 
### you need to have SDL2 compiled in /usr/local ### 
### if SDL2 is in other location - fix CMakeLists.txt 

wget https://astr0baby.online/MMBasic/macOS_arm64/mmb4l.tar.gz 
tar -zxvf mmb4l.tar.gz 
cd mmb4l  
mkdir build 


cmake .. \
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_C_COMPILER=clang \
  -DCMAKE_CXX_COMPILER=clang++ \
  -DCMAKE_OSX_ARCHITECTURES=arm64 \
  -DCMAKE_C_FLAGS="-DLINUX -D_FILE_OFFSET_BITS=64 -D_DARWIN_C_SOURCE" \
  -DCMAKE_CXX_FLAGS="-DLINUX -D_FILE_OFFSET_BITS=64 -D_DARWIN_C_SOURCE" 

make 


### you should have mmbasic binary in path 


### USAGE ### 

### in your basic source files always declare GRAPHICS like this at the start of the code 
### to simulate PicoCalc LCD use 320,320

GRAPHICS WINDOW 0,640,480 
GRAPHICS WRITE 0 


### then run you stuff like this ### 

./mmbasic 

MMBasic for macOS arm64 v0.7-alpha.1
Copyright 2011-2025 Geoff Graham
Copyright 2016-2025 Peter Mather
Copyright 2021-2025 Thomas Hugo Williams

> run "test.bas"
> quit 


### Documentation ### 

https://github.com/thwill1000/mmb4l  

> PRINT MM.INFO(ARCH)
macOS arm64

> PRINT MM.INFO(DEVICE)
MMB4L

> PRINT MM.INFO(VERSION)
 70010000

> PRINT MM.INFO$(CURRENT) 
/Users/user/SRC/mmb4l/build/test.bas

Webserver 1.0