add SvarDOS package build files

This commit is contained in:
Bernd Boeckmann
2023-11-12 14:52:43 +01:00
parent e98bd3faef
commit d53d168633
5 changed files with 85 additions and 0 deletions

12
appinfo/asm6502.lsm Normal file
View File

@@ -0,0 +1,12 @@
Begin3
Title: ASM6502
Version: 23.11
Entered-date: 23-11-12
Description: small but useful 6502 assembler in ~3K lines of ANSI C code
Keywords: 6502, assembler
Author: bernd-freedos@boeckmann.io (Bernd Boeckmann)
Maintained-by: bernd-freedos@boeckmann.io (Bernd Boeckmann)
Primary-site: https://github.com/boeckmann/asm6502
Hwreq: 8086
Copying-policy:MIT
End

29
pkg/svardos/mkpkg.bat Executable file
View File

@@ -0,0 +1,29 @@
del asm6502.svp
deltree /Y appinfo
deltree /Y devel
md appinfo
md devel
md devel\asm6502
md devel\asm6502\examples
md devel\asm6502\examples\atarivcs
md devel\asm6502\examples\c64
md devel\asm6502\support
md devel\asm6502\support\atarivcs
md devel\asm6502\support\c64
copy ..\..\bin\dos\asm6502.exe devel\asm6502\asm6502.exe
copy ..\..\LICENSE devel\asm6502\license.txt
copy src\readme.1st devel\asm6502\readme.1st
copy ..\..\appinfo\asm6502.lsm appinfo\asm6502.lsm
copy ..\..\doc\asm6502.txt devel\asm6502\manual.txt
copy src\c64\build.bat devel\asm6502\examples\c64
copy ..\..\examples\c64\helloc64.a65 devel\asm6502\examples\c64
copy src\atarivcs\build.bat devel\asm6502\examples\atarivcs
copy ..\..\examples\atarivcs\hellovcs.a65 devel\asm6502\examples\atarivcs
copy ..\..\support\atarivcs\*.* devel\asm6502\support\atarivcs
copy ..\..\support\c64\*.* devel\asm6502\support\c64
zip -9rkDX asm6502.svp appinfo devel

View File

@@ -0,0 +1,14 @@
@rem Build script for the C64 hello world example
@rem Procudes the program HELLOVCS.BIN and a listing HELLOVCS.LST
..\..\asm6502.exe hellovcs.a65 -o hellovcs.bin -l hellovcs.lst
@echo.
@echo You may run the generated HELLOVCS.BIN with the STELLA emulator.
@echo STELLA is included in the SvarDOS repository. See the SvarDOS
@echo documentation on how to install it.
@echo.
@echo To run the example, type:
@echo.
@echo C:\STELLA\STELLA.EXE HELLOVCS.BIN
@echo.
@echo Adjust the path to STELLA, if you installed it to another location.

15
pkg/svardos/src/c64/build.bat Executable file
View File

@@ -0,0 +1,15 @@
@rem Build script for the C64 hello world example
@rem Procudes the program HELLOC64.PRG and a listing HELLOC64.LST
..\..\asm6502.exe helloc64.a65 -o helloc64.prg -l helloc64.lst
@echo.
@echo You may run the generated HELLOC64.PRG with the VICE emulator.
@echo VICE is included in the SvarDOS repository. See the SvarDOS
@echo documentation on how to install it. VICE needs a DPMI host.
@echo The SvarDOS CWSDPMI package contains one.
@echo.
@echo To run the example, type:
@echo.
@echo C:\VICE\X64.EXE HELLOC64.PRG
@echo.
@echo Adjust the path to X64, if you installed VICE to another location.

View File

@@ -0,0 +1,15 @@
ASM6502 package for SvarDOS
---------------------------
This SvarDOS package provides ASM6502, a small assembler for the
6502 microprocessor. Together with other 6502 specific SvarDOS packages
like VICE, a Commodore 64 emulator, or STELLA, an Atari VCS emulator,
it can be used to create software for many of the ancient 8-bit machines.
See MANUAL.TXT for a general introduction and reference to ASM6502.
The EXAMPLES sub-directory contains two examples to get you going, one for
the C64 and one for the Atari VCS. They contain a BUILD.BAT to generate
binaries and listing files.
Have fun!