Update for unix build and added package-lock.json, as requested by documentation

This commit is contained in:
Francesco Sblendorio 2022-01-16 10:54:21 +01:00
parent 5b88866d37
commit b443272b81
4 changed files with 70 additions and 2 deletions

1
.gitignore vendored
View File

@ -19,4 +19,3 @@ cc65/*
!demos/montyr/montyr.sid_c800.0280R.woz
node_modules/
packets*.wav
package-lock.json

16
demos/montyr/m.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
KICKASSJAR=~/sw/kickass/KickAss.jar
PRG2BIN='node ../../tools/prg2bin.js'
PRG2WOZ='node ../../tools/prg2woz.js'
java -jar ${KICKASSJAR} montyr_apple1.asm -define SID_CC00
${PRG2BIN} -i montyr_apple1.prg -o montyr.sid_cc00.0280R.bin
${PRG2WOZ} -i montyr_apple1.prg -o montyr.sid_cc00.0280R.woz
cp montyr_apple1.prg montyr.sid_cc00.0280R.prg
java -jar ${KICKASSJAR} montyr_apple1.asm -define SID_C800
${PRG2BIN} -i montyr_apple1.prg -o montyr.sid_c800.0280R.bin
${PRG2WOZ} -i montyr_apple1.prg -o montyr.sid_c800.0280R.woz
cp montyr_apple1.prg montyr.sid_c800.0280R.prg

View File

@ -1,4 +1,5 @@
../../tools/build.sh tapemon
node ../../tools/prg2bin.js -i out/tapemon_apple1.prg -o out/tapemon.0280.bin
../../tools/build.sh tapetoggle
node ../../tools/prg2woz.js -i out/tapetoggle_apple1.prg -o out/tapetoggle.0280.woz

52
package-lock.json generated Normal file
View File

@ -0,0 +1,52 @@
{
"name": "apple1-videocard-lib",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"array-back": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz",
"integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q=="
},
"command-line-args": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.0.tgz",
"integrity": "sha512-4zqtU1hYsSJzcJBOcNZIbW5Fbk9BkjCp1pZVhQKoRaWL5J7N4XphDLwo8aWwdQpTugxwu+jf9u2ZhkXiqp5Z6A==",
"requires": {
"array-back": "^3.1.0",
"find-replace": "^3.0.0",
"lodash.camelcase": "^4.3.0",
"typical": "^4.0.0"
}
},
"find-replace": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz",
"integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==",
"requires": {
"array-back": "^3.0.1"
}
},
"lodash.camelcase": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
"integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY="
},
"typical": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz",
"integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw=="
},
"wav-decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/wav-decoder/-/wav-decoder-1.3.0.tgz",
"integrity": "sha512-4U6O/JNb1dPO90CO2YMTQ5N2plJcntm39vNMvRq9VZ4Vy5FzS7Lnx95N2QcYUyKYcZfCbhI//W3dSHA8YnOQyQ=="
},
"wav-encoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/wav-encoder/-/wav-encoder-1.3.0.tgz",
"integrity": "sha512-FXJdEu2qDOI+wbVYZpu21CS1vPEg5NaxNskBr4SaULpOJMrLE6xkH8dECa7PiS+ZoeyvP7GllWUAxPN3AvFSEw=="
}
}
}