Skip to content

Commit

Permalink
rel: Add header and symbols for swdrv
Browse files Browse the repository at this point in the history
  • Loading branch information
PistonMiner committed Jan 9, 2022
1 parent f21f8a2 commit 412d78d
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ttyd-tools/rel/include/ttyd.eu.lst
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,20 @@
800868e0:setupDataCheck
8008699c:setupDataLoad

// swdrv.o
80086a98:_swByteGet
80086aa8:_swByteSet
80086ab8:_swClear
80086af8:_swGet
80086b40:_swSet
80086b80:swByteGet
80086ba4:swByteSet
80086bc8:swClear
80086c08:swGet
80086c50:swSet
80086c90:swReInit
80086cd4:swInit

// seq_logo.o
// 80086d4c:progDisp
// unused:arcLoad
Expand Down
14 changes: 14 additions & 0 deletions ttyd-tools/rel/include/ttyd.jp.lst
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,20 @@
80084604:setupDataCheck
800846c0:setupDataLoad

// swdrv.o
800847b8:_swByteGet
800847c8:_swByteSet
800847d8:_swClear
80084818:_swGet
80084860:_swSet
800848a0:swByteGet
800848c4:swByteSet
800848e8:swClear
80084928:swGet
80084970:swSet
800849b0:swReInit
800849f4:swInit

// seq_logo.o
// 80084a6c:progDisp
// unused:arcLoad
Expand Down
14 changes: 14 additions & 0 deletions ttyd-tools/rel/include/ttyd.us.lst
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,20 @@
8008558c:setupDataCheck
80085648:setupDataLoad

// swdrv.o
80085744:_swByteGet
80085754:_swByteSet
80085764:_swClear
800857a4:_swGet
800857ec:_swSet
8008582c:swByteGet
80085850:swByteSet
80085874:swClear
800858b4:swGet
800858fc:swSet
8008593c:swReInit
80085980:swInit

// seq_logo.o
// 800859f8:progDisp
// unused:arcLoad
Expand Down
27 changes: 27 additions & 0 deletions ttyd-tools/rel/include/ttyd/swdrv.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#pragma once

namespace ttyd::swdrv
{

extern "C" {

void swInit();
void swReInit();

void swSet(int gswf);
bool swGet(int gswf);
void swClear(int gswf);

void swByteSet(int gsw, int value);
int swByteGet(int gsw);

void _swSet(int lswf);
bool _swGet(int lswf);
void _swClear(int lswf);

void _swByteSet(int lsw, int value);
int _swByteGet(int lsw);

}

}

0 comments on commit 412d78d

Please sign in to comment.