Add missing nostalgia directory level in src tree

This commit is contained in:
2017-05-12 17:55:18 -05:00
parent 1b9f8f40f4
commit bfc87b50b1
43 changed files with 22 additions and 19 deletions

View File

@@ -0,0 +1,26 @@
cmake_minimum_required(VERSION 2.8.11)
project(nostalgia)
add_executable(
nostalgia
main.cpp
)
if(COMMAND OBJCOPY_FILE)
set_target_properties(nostalgia
PROPERTIES
LINK_FLAGS ${LINKER_FLAGS}
COMPILER_FLAGS "-mthumb -mthumb-interwork"
)
OBJCOPY_FILE(nostalgia)
#PADBIN_FILE(nostalgia)
endif()
target_link_libraries(
nostalgia
NostalgiaCore
OxStd
OxFS
)

View File

@@ -0,0 +1,20 @@
/*
* Copyright 2016-2017 gtalent2@gmail.com
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <nostalgia/core/core.hpp>
using namespace nostalgia;
int main() {
core::init();
core::initConsole();
core::puts(9 * 32 + 8, "HELLO,WORLD!");
core::puts(10 * 32 + 8, "01234 56789");
while (1);
return 0;
}