Skip to content

Commit

Permalink
Merge pull request #108 from algosup/Dev
Browse files Browse the repository at this point in the history
couldn't press review button again
  • Loading branch information
mathiskakal authored Dec 11, 2023
2 parents cb33a1c + c7e75f7 commit b1cc50e
Show file tree
Hide file tree
Showing 9 changed files with 3,997 additions and 0 deletions.
1,070 changes: 1,070 additions & 0 deletions pacMan/assembling.asm

Large diffs are not rendered by default.

Binary file added pacMan/bin/pacman.com
Binary file not shown.
18 changes: 18 additions & 0 deletions pacMan/buildSprite.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@echo off
set "ROOT_DIR=%~dp0"
set "CONF=%ROOT_DIR%\conf"
set "NASM=%ROOT_DIR%\nasm\nasm"
set "BIN_DIR=%ROOT_DIR%\bin"
set "CONF_DOSBOX=%userprofile%\AppData\Local\DOSBox"
set "DOSBOX_BIN=%ProgramFiles(x86)%\DOSBox-0.74-3\DOSBox.exe"

"%NASM%" "%ROOT_DIR%\assembling.asm" -f bin -o "%BIN_DIR%\pacman.com"

"%DOSBOX_BIN%" -c "config -set 'sdl fullscreen=true'" , -c "config -writeconf conf\dosbox-0.74-3.conf" , -c "exit"

cd\
copy "%CONF%\dosbox-0.74-3.conf" "%CONF_DOSBOX%"

"%DOSBOX_BIN%" -c keyb fr189 , -c "MOUNT c %BIN_DIR%" , -c c: , -c pacman.com

exit
17 changes: 17 additions & 0 deletions pacMan/buildSprite.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ROOT_DIR="$(dirname "$(realpath "$0")")"
ROOT_DIR="$(dirname "$ROOT_DIR")"

CONF="$ROOT_DIR/pacMan/conf/"
# NASM="$ROOT_DIR/code/nasm.exe"
NASM="/opt/homebrew/Cellar/nasm/2.16.01/bin/nasm"
BIN_DIR="$ROOT_DIR/pacMan/bin/"
CONF_DOSBOX="/Users/pierregorin/Library/Preferences/DOSBox 0.74-3 Preferences"
DOSBOX_BIN="/opt/homebrew/Cellar/dosbox/0.74-3_1/bin/dosbox"

"$NASM" "$ROOT_DIR/pacMan/pacman.asm" -f bin -o "$BIN_DIR/pacman.com"

# "$DOSBOX_BIN" -c "config -set 'sdl fullscreen=true'" -c "config -writeconf $CONF/dosbox-0.74-3.conf" -c "exit"

# cp "$CONF/dosbox-0.74-3.conf" "$CONF_DOSBOX"

"$DOSBOX_BIN" -c "keyb fr189" -c "MOUNT c $BIN_DIR" -c "c:" -c "pacman.com"
Loading

0 comments on commit b1cc50e

Please sign in to comment.