Skip to content

Commit

Permalink
chage font osd offset x 0~59 y 0~33
Browse files Browse the repository at this point in the history
  • Loading branch information
andreadbyfive committed Jul 25, 2019
1 parent 8b6a14a commit a0042d4
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions cpu0/core/main/msgqpass.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,13 +439,13 @@ ISRT void RuntimeMsg(void)
{
printf("MSG_CMD_TXTOCD\r\n");
txtosd_info arg_txtosd;
char buffer[32];
int len=0;
//char buffer[32];
//int len=0;
if (MsgTxtOsdGet(&gptMsgTxtOsd, &arg_txtosd) == DEF_OK) {

printf("%s %d %d\r\n",arg_txtosd.info,arg_txtosd.posX,arg_txtosd.posY);
len = sprintf(buffer, "%s",arg_txtosd.info);
DispStr(buffer, arg_txtosd.posY, arg_txtosd.posX, len);
//len = sprintf(buffer, "%s",arg_txtosd.info);
DispStr(arg_txtosd.info, arg_txtosd.posY, arg_txtosd.posX, strlen(arg_txtosd.info));

}
}
Expand Down
2 changes: 1 addition & 1 deletion cpu0/isp/dev_isp.h
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ extern void SystemReset(void);

#define ISP_BOX_EA 32 // (fix) number of Box

#define ISP_FONT_EAX 46/*30*/ // number of Horizontal Font ksh modi
#define ISP_FONT_EAX 60/*30*/ // number of Horizontal Font ksh modi
#define ISP_FONT_ID_EA 2048 // number of Font id
#define ISP_FONT_ATTR_EA 2048 // number of Font attr
#define ISP_FONT_CHAR_EA 341 // number of font character
Expand Down
Binary file modified cpu1/main_app.o
Binary file not shown.
Binary file modified cpu1/task/shell/shell_cmd_common.o
Binary file not shown.
Binary file modified cpu1/task/task.o
Binary file not shown.
2 changes: 1 addition & 1 deletion cpu1/task/terminal/term_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void TermStart(void *arg)

do {
nbytes = lwip_recv(clientfd, buffer, sizeof(buffer), 0);

printf("lwip recv - %d)\r\n", nbytes);
// 사용자가 Terminal을 강제 종료할 때
if (nbytes <= 0) {
break;
Expand Down
Binary file modified cpu1/task/terminal/term_server.o
Binary file not shown.
2 changes: 1 addition & 1 deletion dev/dev_isp_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ extern BYTE MN_MXSP;
#define MN_POS_SIZ_720P_CROP {\
BOAD_ONw(0x1); BOAD_MODEw(0x1); \
FONT_OFYw(0x20/*0x8a*/); FONT_OFXw(0x70/*0x1c4*/); \
FONT_VBLKw(0x88); FONT_HBLKw(0x88); \
FONT_VBLKw(0x87); FONT_HBLKw(0x8f); \
FONT_VSIZw(0x1); FONT_HSIZw(0x1);}

#define MN_POS_SIZ_SMALL {\
Expand Down
Binary file modified dev/user.o
Binary file not shown.
Binary file modified output/EN673.bin
Binary file not shown.
10 changes: 5 additions & 5 deletions output/module/build.rpt
Original file line number Diff line number Diff line change
Expand Up @@ -189,21 +189,21 @@ Idx Name Size VMA LMA File off Algn
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .rodata 0003ada0 08000000 06011000 00004000 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .text 00065560 0803ada0 0604bda0 0003eda0 2**2
2 .text 00065440 0803ada0 0604bda0 0003eda0 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
3 .ispm_text 00003860 04001000 060b1300 000a5000 2**2
3 .ispm_text 00003860 04001000 060b11e0 000a5000 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
4 .ispm_data 00000e40 04004860 060b4b60 000a8860 2**2
4 .ispm_data 00000e40 04004860 060b4a40 000a8860 2**2
CONTENTS, ALLOC, LOAD, DATA
5 .sh0sr_data 00002060 f0000000 f0000000 000ac000 2**2
ALLOC
6 .sh1sr_data 00004fa0 f0010000 f0010000 000ac000 2**2
ALLOC
7 .data 000010a0 080a0300 060b59a0 000aa300 2**2
7 .data 000010a0 080a01e0 060b5880 000aa1e0 2**2
CONTENTS, ALLOC, LOAD, DATA
8 .flag_data 00000010 060bfff0 060bfff0 000abff0 2**0
CONTENTS, ALLOC, LOAD, READONLY, CODE
9 .bss 000985c0 080a13a0 060b6a40 000ab3a0 2**2
9 .bss 000985c0 080a1280 060b6920 000ab280 2**2
ALLOC
10 .stb 00000040 0bc00000 0bc00000 000ac000 2**0
CONTENTS
Expand Down
Binary file modified output/module/cpu0.bin
Binary file not shown.
Binary file modified output/module/cpu0.or32
Binary file not shown.
Binary file modified output/module/cpu1.bin
Binary file not shown.
Binary file modified output/module/cpu1.or32
Binary file not shown.

0 comments on commit a0042d4

Please sign in to comment.