Skip to content

Commit

Permalink
Add support for Sharp PC 1403(H) #951
Browse files Browse the repository at this point in the history
  • Loading branch information
spotlessmind1975 committed Oct 26, 2024
1 parent 077d58d commit 2cc47d5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ugbc/src/hw/sc61860.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,12 @@ static void op_wait_direct( Environment * _environment, int _value ) {
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////

void sc61860_nop( Environment * _environment ) {

outline0("NOPW");

}

void sc61860_init( Environment * _environment ) {

}
Expand Down
2 changes: 2 additions & 0 deletions ugbc/src/hw/sc61860.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@

void sc61860_init( Environment * _environment );

void sc61860_nop( Environment * _environment );
void sc61860_ztoa( Environment * _environment );
void sc61860_ctoa( Environment * _environment );
void sc61860_beq( Environment * _environment, char * _label );
Expand Down Expand Up @@ -361,6 +362,7 @@ void sc61860_float_single_tan( Environment * _environment, char * _value, char *
void sc61860_float_single_log( Environment * _environment, char * _value, char * _result );
void sc61860_float_single_exp( Environment * _environment, char * _value, char * _result );

#define cpu_nop( _environment ) sc61860_nop( _environment )
#define cpu_ztoa( _environment ) sc61860_ztoa( _environment )
#define cpu_ctoa( _environment ) sc61860_ctoa( _environment )
#define cpu_beq( _environment, _label ) sc61860_beq( _environment, _label )
Expand Down
2 changes: 1 addition & 1 deletion ugbc/src/targets/common/key_constant.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
defined( __mo5__ ) || defined( __msx1__ ) || \
defined( __plus4__ ) || defined( __plus4__ ) || defined( __sc3000__ ) || \
defined( __sg1000__ ) || defined( __to8__ ) || defined( __vg5000__ ) || \
defined( __vic20__) || defined ( __zx__ )
defined( __vic20__) || defined ( __zx__ ) || defined( __pc1403__ )

int key_constant( Environment * _environment, int _key ) {

Expand Down

0 comments on commit 2cc47d5

Please sign in to comment.