Sync push
This commit is contained in:
parent
626b1b28e7
commit
5e2ea9394a
8 changed files with 11 additions and 10 deletions
|
|
@ -13,7 +13,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
cmake_minimum_required(VERSION 3.18)
|
cmake_minimum_required(VERSION 3.18)
|
||||||
project(${PROJ_NAME} LANGUAGES C CXX)
|
project(${PROJ_NAME} LANGUAGES C CXX)
|
||||||
set(CMAKE_BUILD_TYPE Debug)
|
set(CMAKE_BUILD_TYPE Debug)
|
||||||
set(CMAKE_CXX_STANDARD 23)
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
file(STRINGS "./build.nr" BUILD_NUMBER)
|
file(STRINGS "./build.nr" BUILD_NUMBER)
|
||||||
#-----------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
2
build.nr
2
build.nr
|
|
@ -1 +1 @@
|
||||||
1593
|
1596
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
||||||
## --
|
## --
|
||||||
## -- This file is automatically generated by the DragonAssembler (version 0.3.1592)
|
## -- This file is automatically generated by the DragonAssembler (version 0.3.1595)
|
||||||
## -- Please do not modify this file in any way.
|
## -- Please do not modify this file in any way.
|
||||||
## --
|
## --
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
.load 0x0000
|
.load [dynamic]
|
||||||
|
|
||||||
@define S_REG_3 0x09
|
|
||||||
|
|
||||||
.data
|
.data
|
||||||
|
$string "Hello BOOTSECTOR!!"
|
||||||
|
|
||||||
.code
|
.code
|
||||||
mov R10, 0xE0
|
mov R10, 0xE0
|
||||||
|
|
@ -11,5 +10,3 @@
|
||||||
mov R9, $string
|
mov R9, $string
|
||||||
int 0x30
|
int 0x30
|
||||||
|
|
||||||
.dynamic_data
|
|
||||||
$string "Hello BOOTSECTOR!!"
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
@include <../bios_api.dss>
|
@include <../bios_api.dss>
|
||||||
|
|
||||||
|
@define S_REG_1 0x07
|
||||||
|
@define S_REG_2 0x08
|
||||||
|
@define S_REG_3 0x09
|
||||||
|
|
||||||
.data
|
.data
|
||||||
$_drake_logo_line_1 " ___ ___ ___ __ ______"
|
$_drake_logo_line_1 " ___ ___ ___ __ ______"
|
||||||
$_drake_logo_line_2 " / _ \/ _ \/ _ | / //_/ __/"
|
$_drake_logo_line_2 " / _ \/ _ \/ _ | / //_/ __/"
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ printf "${green}\n==============================================================
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
cd scripts
|
cd scripts
|
||||||
/bin/bash ./bios_flash
|
/bin/bash ./bios_flash
|
||||||
cp dss/bios_api.dss ../extra/dss/bios_api.dss
|
cp ../dss/bios_api.dss ../../extra/dss/bios_api.dss
|
||||||
/bin/bash ./load_mbr
|
/bin/bash ./load_mbr
|
||||||
cd ..
|
cd ..
|
||||||
printf "${green}Compiling Test Program...\n"
|
printf "${green}Compiling Test Program...\n"
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ printf "${green}\n==============================================================
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
cd scripts
|
cd scripts
|
||||||
/bin/bash ./bios_flash
|
/bin/bash ./bios_flash
|
||||||
cp dss/bios_api.dss ../extra/dss/bios_api.dss
|
cp ../dss/bios_api.dss ../../extra/dss/bios_api.dss
|
||||||
/bin/bash ./load_mbr
|
/bin/bash ./load_mbr
|
||||||
cd ..
|
cd ..
|
||||||
printf "${green}Compiling Test Program...\n"
|
printf "${green}Compiling Test Program...\n"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue