Skip to content

Commit 70326b7

Browse files
committed
Updated 7800basic to v0.38
1 parent b0eac37 commit 70326b7

File tree

11 files changed

+20
-21
lines changed

11 files changed

+20
-21
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
The following enhancements and changes have been made to Atari Dev Studio:
44

5+
## 0.11.0
6+
7+
* Updated 7800basic to v0.38 (wasm).
8+
59
## 0.10.9
610

711
* Updated 7800basic to v0.37 (wasm). NOTE: this is now a cross-platform release that requires the **wasmtime** runtime to be installed on your computer.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ batari Basic created by Fred 'batari' Quimby is a BASIC-like language used in th
177177

178178
batari Basic is an external project is kindly currently maintained by Mike Saarna (RevEng) and can be downloaded separately [here](https://github.com/batari-Basic/batari-Basic). Further information is about this release is available here at [AtariAge](https://atariage.com/forums/topic/300856-official-home-for-batari-basic).
179179

180-
### 7800basic (release 0.37 - 20250922 [WASM])
180+
### 7800basic (release 0.38 - 20250923 [WASM])
181181
7800basic is a BASIC-like language for creating Atari 7800 games. It is a compiled language that runs on a computer, and it creates a binary file that can be run with an Atari 7800 emulator, or the binary file may be used to make a cartridge that will operate on a real Atari 7800. 7800basic is derived from batari basic, a BASIC-like language for creating Atari 2600 games. Special thanks to the bB creator, Fred Quimby, and all of the the bB contributors!
182182

183183
7800basic is included as part of this extension with many thanks to Mike Saarna (RevEng). 7800basic is an external project and can be downloaded separately [here](https://github.com/7800-devtools/7800basic). Further information about this release is available here at [AtariAge](http://atariage.com/forums/topic/222638-7800basic-beta-the-release-thread).

out/bin/compilers/7800basic/7800bas.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ echo dasm version: %DASMVER%
2424

2525

2626
REM --- Source file check ---
27-
if X%1==X (
27+
if "%~1"=="" (
2828
echo ### ERROR: No source file specified.
2929
exit /b 1
3030
)
3131

32-
if "%1"=="-v" (
32+
if /i "%~1"=="-v" (
3333
REM Just version check
3434
exit /b 0
3535
)
@@ -103,3 +103,4 @@ exit /b 1
103103
endlocal
104104
exit /b 0
105105

106+

out/bin/compilers/7800basic/7800basic.sh

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ if [ ! $? = 0 ] ; then
1111
echo "### WARNING: wasmtime isn't in your PATH."
1212
echo " You can install it as follows:"
1313
echo " macOS/Linux: curl https://wasmtime.dev/install.sh -sSf | bash"
14-
echo " macOS (Homebrew): brew install wasmtime"
15-
echo " Linux (Debian/Ubuntu): sudo apt install wasmtime"
16-
echo " Linux (Fedora/RHEL): sudo dnf install wasmtime"
1714
echo " See https://wasmtime.dev for other installation options."
1815
exit 1
1916
fi
@@ -29,15 +26,15 @@ if [ "$1" = "-v" ] ; then
2926
fi
3027

3128
if [ ! -f "$1" ]; then
32-
echo "### ERROR: Source file '$1' not found."
29+
echo "### ERROR: Source file \"$1\" not found."
3330
exit 2
3431
fi
3532

3633
echo
3734

3835
echo "Starting build of $1"
39-
wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/7800preprocess.wasm <"$1" >"$1.pre"
40-
wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/7800basic.wasm -i "$bas7800dir" -b "$1" -p "$1.pre"
36+
wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/7800preprocess.wasm" <"$1" >"$1.pre"
37+
wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/7800basic.wasm" -i "$bas7800dir" -b "$1" -p "$1.pre"
4138

4239
if [ "$?" -ne "0" ]
4340
then
@@ -47,27 +44,27 @@ fi
4744
rm -f "$1.pre"
4845
if [ "$2" = "-O" ]
4946
then
50-
wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/7800postprocess.wasm -i "$bas7800dir" | wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/7800optimize.wasm > "$1.asm"
47+
wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/7800postprocess.wasm" -i "$bas7800dir" | wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/7800optimize.wasm" > "$1.asm"
5148
else
52-
wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/7800postprocess.wasm -i "$bas7800dir" > "$1.asm"
49+
wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/7800postprocess.wasm" -i "$bas7800dir" > "$1.asm"
5350
fi
5451

5552
if [ -r banksetrom.asm ] ; then
56-
wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/dasm.wasm "$bas7800dir/includes/banksetskeleton.asm" -I"$bas7800dir/includes" -f3 -l"banksetrom.list.txt" -p20 -s"banksetrom.symbol.txt" -o"banksetrom.bin" | wasmtime $bas7800dir/7800filter.wasm
57-
wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/banksetsymbols.wasm
53+
wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/dasm.wasm" "$bas7800dir/includes/banksetskeleton.asm" -I"$bas7800dir/includes" -f3 -l"banksetrom.list.txt" -p20 -s"banksetrom.symbol.txt" -o"banksetrom.bin" | wasmtime "$bas7800dir/7800filter.wasm"
54+
wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/banksetsymbols.wasm"
5855
fi
5956

60-
wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/dasm.wasm $1.asm -I"$bas7800dir/includes" -f3 -l"$1.list.txt" -p20 -s"$1.symbol.txt" -o"$1.bin" | wasmtime $bas7800dir/7800filter.wasm
57+
wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/dasm.wasm" "$1.asm" -I"$bas7800dir/includes" -f3 -l"$1.list.txt" -p20 -s"$1.symbol.txt" -o"$1.bin" | wasmtime "$bas7800dir/7800filter.wasm"
6158

62-
wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/7800sign.wasm -w "$1.bin"
59+
wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/7800sign.wasm" -w "$1.bin"
6360

6461
if [ -r banksetrom.asm ] ; then
6562
cat "banksetrom.bin" >> "$1.bin"
6663
rm -f banksetrom.bin banksetrom.asm
6764
fi
6865

6966

70-
wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/7800header.wasm -o -f a78info.cfg "$1.bin"
71-
wasmtime run --dir=. --dir=$bas7800dir $bas7800dir/7800makecc2.wasm "$1.bin"
67+
wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/7800header.wasm" -o -f a78info.cfg "$1.bin"
68+
wasmtime run --dir=. --dir="$bas7800dir" "$bas7800dir/7800makecc2.wasm" "$1.bin"
7269

7370
exit 0
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

out/bin/compilers/7800basic/install_ux.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ if ! command -v wasmtime >/dev/null 2>&1; then
2828
2929
You can install it using:
3030
- macOS/Linux: curl https://wasmtime.dev/install.sh -sSf | bash
31-
- macOS (Homebrew): brew install wasmtime
32-
- Linux (Debian/Ubuntu): sudo apt install wasmtime
33-
- Linux (Fedora/RHEL): sudo dnf install wasmtime
3431
- Or download directly: https://wasmtime.dev/
3532
3633
EOF
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)