Added a new Alpha CPU simulator axpbox

This commit is contained in:
astr0baby 2020-11-06 14:35:15 +00:00
parent e1d3c91257
commit 6797167de8
6 changed files with 68 additions and 0 deletions

View File

@ -225,6 +225,7 @@ SUBDIR+= avra
SUBDIR+= avrdude
SUBDIR+= axe
SUBDIR+= axel
SUBDIR+= axpbox-git
SUBDIR+= azureus
SUBDIR+= backintime
SUBDIR+= backplane

5
axpbox-git/DESCR Normal file
View File

@ -0,0 +1,5 @@
AXPbox Alpha emulator
AXPbox is a fork of the discontinued es40 emulator. It could theoretically used for running any operating system that runs on the OpenVMS or Tru64 PALcode (e.g. OpenVMS, Tru64 UNIX, Linux, NetBSD), however as of now only OpenVMS can be installed (for more details see Guest support).
The emulator supports SCSI, IDE, serial ports, Ethernet (using PCAP) and VGA graphics (using SDL).

9
axpbox-git/MESSAGE Normal file
View File

@ -0,0 +1,9 @@
===========================================================================
$NetBSD$
Run axpbox with run argument from a directory where you have the
disk image and es40.cfg configuration file your your VM.
Please read the documentation on the project webpage
https://github.com/lenticularis39/axpbox
===========================================================================

45
axpbox-git/Makefile Normal file
View File

@ -0,0 +1,45 @@
# $NetBSD$
GITHUB_PROJECT= axpbox
GITHUB_TAG= main
DISTNAME= main
PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=lenticularis39/}
EXTRACT_SUFX= .zip
DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/lenticularis39/axpbox/
COMMENT= AXPbox is a fork of the discontinued es40 emulator. It emulates Alpha processor and can OpenVMS,Tru64,Linux and NetBSD
#LICENSE=
WRKSRC= ${WRKDIR}/axpbox-main
USE_TOOLS+= pkg-config gmake
USE_PKGLOCALEDIR+= yes
USE_CMAKE= yes
USE_LANGUAGES= c c++14
MAKE_ENV+= prefix=${PREFIX}
CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ..
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
CMAKE_ARGS+= -DCMAKE_CXX_FLAGS="-O3 -march=native"
CMAKE_ARGS+= -DDEBUG=OFF
CMAKE_ARGS+= -DFASTER=OFF
INSTALLATION_DIRS+= bin
pre-configure:
${MKDIR} -p ${WRKSRC}/build
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/build/axpbox ${DESTDIR}${PREFIX}/bin
.include "../../devel/cmake/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../lang/clang/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

2
axpbox-git/PLIST Normal file
View File

@ -0,0 +1,2 @@
@comment $NetBSD$
bin/axpbox

6
axpbox-git/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (axpbox/main.zip) = a1e18048ac785820548983a0c98fb15ee8a74ef5
RMD160 (axpbox/main.zip) = 636502284bc5e164cf915c46c5d905277b7bd2da
SHA512 (axpbox/main.zip) = d5ec892d6ea2e3dea5bb40c367f2679dd0f70a060af54c49e51f29e9206dc9bd4efe9a5737aee92ffdf31f0e2ba5a3346f4fd61bef7e1b6d8e4e21121751183b
Size (axpbox/main.zip) = 684802 bytes