Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Maintenance] [th01] Move ztext.c to the hardware/ directory
And fix a typo from 2015 that hasn't actually mattered yet. Part of P0080, funded by Ember2528 and Splashman.
- Loading branch information
Showing
10 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
* Code segment #6 of TH01's FUUIN.EXE | ||
*/ | ||
|
||
#include "th01/ztext.c" | ||
#include "th01/hardware/ztext.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
*/ | ||
|
||
#include "th01/th01.h" | ||
#include "th01/hardware/ztext.h" | ||
|
||
#include <mbctype.h> | ||
#include <mbstring.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// master.lib text function reimplementations | ||
// ------------------------------------------ | ||
typedef enum { | ||
CURSOR_HIDE, | ||
CURSOR_BLOCK, | ||
CURSOR_UNDERLINE | ||
} z_text_cursor_t; | ||
|
||
void z_text_init(void); | ||
void z_text_25line(void); | ||
void z_text_20line(void); | ||
void z_text_systemline_show(void); | ||
void z_text_systemline_hide(void); | ||
void z_text_clear(void); | ||
void z_text_show(void); | ||
void z_text_hide(void); | ||
void z_text_setcursor(z_text_cursor_t type); | ||
void z_text_print(const char *cmd); | ||
// ------------------------------------------ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
*/ | ||
|
||
#include "th01/hardware/vsyncclr.c" | ||
#include "th01/ztext.c" | ||
#include "th01/hardware/ztext.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
* Code segment #4 of TH01's OP.EXE | ||
*/ | ||
|
||
#include "th01/ztext.c" | ||
#include "th01/hardware/ztext.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters