From da70d0adf9f3b57ea45d5db3dace71210f07da8c Mon Sep 17 00:00:00 2001 From: Ed_ Date: Mon, 25 Nov 2024 01:01:29 -0500 Subject: [PATCH] prepareing for next thing --- scripts/build.ps1 | 25 +++++++++++++++++-------- source/copy_hello.asm | 0 2 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 source/copy_hello.asm diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 2b301fb..58609a9 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -17,14 +17,23 @@ $fasmg = join-path $path_fasmg 'fasmg.exe' verify-path $path_build push-location $path_build -function build-hello -{ - $env:include = join-path $path_fasm2 'include' + function build-hello { + $env:include = join-path $path_fasm2 'include' - $asm_hello = join-path $path_source 'hello.asm' - $exe_hello = 'hello.exe' + $asm_hello = join-path $path_source 'hello.asm' + $exe_hello = 'hello.exe' - & $fasmg $asm_hello $exe_hello -} -build-hello + & $fasmg $asm_hello $exe_hello + # & $fasm $asm_hello '-s' 'hello.fas' + } + build-hello + + function build-copy_hello { + $env:include = join-path $path_fasm2 'include' + + $local:asm = join-path $path_source 'copy_hello.asm' + $local:exe = 'copy_hello.exe' + & $fasmg $asm $exe + } + # build-copy_hello pop-location diff --git a/source/copy_hello.asm b/source/copy_hello.asm new file mode 100644 index 0000000..e69de29