Some finishing touch on the CBM retro targets.
This commit is contained in:
parent
ca2552461e
commit
757809196e
|
@ -810,6 +810,7 @@ add_pagewidget(char *text, unsigned char size, char *attrib, unsigned char type,
|
||||||
textptr->name + attriblen + 1, WWW_CONF_MAX_INPUTVALUELEN);
|
textptr->name + attriblen + 1, WWW_CONF_MAX_INPUTVALUELEN);
|
||||||
add_forminput((struct inputattrib *)textptr);
|
add_forminput((struct inputattrib *)textptr);
|
||||||
textptr->formptr = formptr;
|
textptr->formptr = formptr;
|
||||||
|
petsciiconv_topetscii(text, strlen(text));
|
||||||
strcpy(textptr->textentry.text, text);
|
strcpy(textptr->textentry.text, text);
|
||||||
strcpy(textptr->name, attrib);
|
strcpy(textptr->name, attrib);
|
||||||
if(size) {
|
if(size) {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
DEFINES = WITH_CLIENT,WITH_DNS,WITH_GUI,WITH_PFS
|
DEFINES = WITH_CLIENT,WITH_DNS,WITH_GUI,WITH_PFS,MTU_SIZE=1000
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
DEFINES = WITH_LOGGING,WITH_CLIENT,WITH_DNS,WITH_ARGS
|
DEFINES = WITH_LOGGING,WITH_CLIENT,WITH_DNS,WITH_PFS,WITH_ARGS
|
||||||
|
|
|
@ -73,8 +73,7 @@ flags: .res 10
|
||||||
.data
|
.data
|
||||||
|
|
||||||
illchr: .byte $3A, $2A, $3F, $3D ;illegal chars
|
illchr: .byte $3A, $2A, $3F, $3D ;illegal chars
|
||||||
pw: .byte $2C
|
pw: .byte $2C, $50, $2C, $57 ;,p,w
|
||||||
filet: .byte $50, $2C, $57 ;,p,w
|
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
.segment "INIT"
|
.segment "INIT"
|
||||||
|
|
||||||
|
@ -149,7 +148,7 @@ nopath: lda #$3A
|
||||||
lsr ptr2
|
lsr ptr2
|
||||||
bcs ro ;read only
|
bcs ro ;read only
|
||||||
lda __filetype
|
lda __filetype
|
||||||
sta filet ;set filetype
|
sta pw+1 ;set filetype
|
||||||
ldx #252
|
ldx #252
|
||||||
@L20: lda pw-252,x
|
@L20: lda pw-252,x
|
||||||
sta (sp),y ;write
|
sta (sp),y ;write
|
||||||
|
|
|
@ -73,8 +73,7 @@ flags: .res 10
|
||||||
.data
|
.data
|
||||||
|
|
||||||
illchr: .byte $3A, $2A, $3F, $3D ;illegal chars
|
illchr: .byte $3A, $2A, $3F, $3D ;illegal chars
|
||||||
pw: .byte $2C
|
pw: .byte $2C, $50, $2C, $57 ;,p,w
|
||||||
filet: .byte $50, $2C, $57 ;,p,w
|
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
.segment "INIT"
|
.segment "INIT"
|
||||||
|
|
||||||
|
@ -149,7 +148,7 @@ nopath: lda #$3A
|
||||||
lsr ptr2
|
lsr ptr2
|
||||||
bcs ro ;read only
|
bcs ro ;read only
|
||||||
lda __filetype
|
lda __filetype
|
||||||
sta filet ;set filetype
|
sta pw+1 ;set filetype
|
||||||
ldx #252
|
ldx #252
|
||||||
@L20: lda pw-252,x
|
@L20: lda pw-252,x
|
||||||
sta (sp),y ;write
|
sta (sp),y ;write
|
||||||
|
|
Loading…
Reference in a new issue