graphics_system -> graphics_hello

This commit is contained in:
2025-08-04 23:58:09 -04:00
parent fb6f1a8e53
commit d64eaf8e2f
9 changed files with 20 additions and 15 deletions
@@ -1,8 +1,8 @@
.psx
.create "./build/hello_gouraud.bin", 0x80010000
.include "./code/graphics_system/dsl.s"
.include "./code/graphics_system/gp.s"
.include "./code/graphics_hello/dsl.s"
.include "./code/graphics_hello/gp.s"
; Entry Point of Code
.org 0x80010000
@@ -1,8 +1,8 @@
.psx
.create "./build/hello_gp_routines.bin", 0x80010000
.include "./code/graphics_system/dsl.s"
.include "./code/graphics_system/gp.s"
.include "./code/graphics_hello/dsl.s"
.include "./code/graphics_hello/gp.s"
; Entry Point of Code
.org 0x80010000
@@ -1,8 +1,8 @@
.psx
.create "./build/hello_image.bin", 0x80010000
.include "./code/graphics_system/dsl.s"
.include "./code/graphics_system/gp.s"
.include "./code/graphics_hello/dsl.s"
.include "./code/graphics_hello/gp.s"
Color_RedFF equ 0x0000FF
Color_22 equ 0x222222
@@ -21,7 +21,7 @@ Display_HalfHeight equ 239 / 2
Image_SizeX equ 32
Image_SizeY equ 32
Image_ByteSize equ Image_SizeX * Image_SizeY * gp_pixel
Image_ByteSize equ Image_SizeX * Image_SizeY * gp_pixel16
Image:
; 32 * 32 * 2 = 2048 bytes
@@ -1,8 +1,8 @@
.psx
.create "./build/hello_logo.bin", 0x80010000
.include "./code/graphics_system/dsl.s"
.include "./code/graphics_system/gp.s"
.include "./code/graphics_hello/dsl.s"
.include "./code/graphics_hello/gp.s"
Color_RedFF equ 0x0000FF
Color_22 equ 0x222222
@@ -1,7 +1,7 @@
.psx
.create "./build/hellogpu.bin", 0x80010000
.include "./code/graphics_system/dsl.s"
.include "./code/graphics_hello/dsl.s"
; Entry Point of Code
.org 0x80010000
+5
View File
@@ -0,0 +1,5 @@
# PSX.DEV Sample Code
Uses the vscode extension to setup a working C project with a pcsx-redux instance used with GDB server functionality.
Everything is built currently with make files which I want to simplify to not requiring if possible...
My goal was to do the pikuma course mostly in assembly with some sys calls to help but now this is in the way..
+5 -5
View File
@@ -37,8 +37,8 @@ function build-program { param(
# build-program 'warmup' 'exercise_2'
# build-program 'warmup' 'exercise_3'
# build-program 'factorial' 'factorial'
# build-program 'graphics_system' 'hellogpu'
# build-program 'graphics_system' 'hello_gouraud'
# build-program 'graphics_system' 'hello_gp_routines'
# build-program 'graphics_system' 'hello_image'
build-program 'graphics_system' 'hello_logo'
# build-program 'graphics_hello' 'hellogpu'
# build-program 'graphics_hello' 'hello_gouraud'
# build-program 'graphics_hello' 'hello_gp_routines'
# build-program 'graphics_hello' 'hello_image'
build-program 'graphics_hello' 'hello_logo'