Skip to content

Commit

Permalink
Updated 7800basic to v0.31
Browse files Browse the repository at this point in the history
  • Loading branch information
chunkypixel committed Nov 1, 2023
1 parent 429d4d5 commit 124523c
Show file tree
Hide file tree
Showing 101 changed files with 8,245 additions and 577 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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

## 0.9.4

* Updated 7800basic to v0.31 (Windows, Linux, macOS)
* Updated 7800basic keyword, hover and context help lists

## 0.9.3

* Updated serial application debug for 7800GD developers (thanks saint)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ batari Basic created by Fred 'batari' Quimby is a BASIC-like language used in th

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).

### 7800basic (release 0.30 - 20230921)
### 7800basic (release 0.31 - 20231031)
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!

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).
Expand Down
52 changes: 41 additions & 11 deletions hovers/7800basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,15 @@
state - on, off



## PAUSESILENCE

set pausesilence state

state - on, off



## POKEYSOUND

set pokeysound state
Expand Down Expand Up @@ -477,6 +486,25 @@

incbin filename.xxx

filename.xxx - file name of the asset to include



## DECOMPRESS

decompress filename $####

filename.xxx - file name of the asset to decompress
$#### - address of dump ie. $4000



## INCCOMPRESS

inccompress filename.xxx

filename.xxx - file name of the asset to compress



## NEWBLOCK
Expand All @@ -498,6 +526,19 @@



## PLOTSPRITE4

plotsprite4 sprite_graphic palette_# x y [frame] [tallheight]

sprite_graphic - name of the included graphic
palette_# - index of palette (0-7)
x - x screen co-ordinate
y - y screen co-ordinate
frame (optional) - index of the frame to display
tallheight (optional) - number of zones each tallsprite occupies



## PLOTBANNER

plotbanner banner_graphic palette_# x y
Expand Down Expand Up @@ -1349,14 +1390,3 @@ of the backup file
directory_path - relative path to files to be included on backup



## PLOTSPRITE4

plotsprite4 sprite_graphic palette_# x y

sprite_graphic - name of the included graphic
palette_# - index of palette (0-7)
x - x screen co-ordinate
y - y screen co-ordinate


3 changes: 2 additions & 1 deletion out/application.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion out/application.js.map

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion out/bin/compilers/7800basic/7800bas.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
@echo off
if X"%bas7800dir%" == X goto nobasic
:tryanyway
7800preprocess <"%~f1" | 7800basic.exe -i "%bas7800dir%" -b "%1"
rem 7800preprocess <"%~f1" | 7800basic.exe -i "%bas7800dir%" -b "%1"
7800preprocess.exe <"%~f1" >"%~f1.pre"
7800basic.exe -i "%bas7800dir%" -b "%1" -p "%1.pre"
if errorlevel 1 goto basicerror
del "%1.pre"
if X%2 == X-O goto optimize
7800postprocess -i "%bas7800dir%" > "%~f1.asm"
goto nooptimize
Expand All @@ -19,6 +22,7 @@ dasm "%~f1.asm" -I"%bas7800dir%"/includes -f3 -p20 -l"%~f1.list.txt" -o"%~f1.bin
7800sign -w "%~f1.bin"
if not exist banksetrom.asm goto nobankset2
copy /b "%~f1.bin"+"banksetrom.bin" "%~f1.bin"
del banksetrom.asm banksetrom.bin
:nobankset2
7800header -o -f a78info.cfg "%~f1.bin"
7800makecc2 "%~f1.bin"
Expand Down
Loading

0 comments on commit 124523c

Please sign in to comment.