
PpHd (./96) :
the RAM_THROW extension
Folco (./123) :PpHd (./96) :
the RAM_THROW extension
Could we have official macros to use that ? I'll do it myself if you don't want to, but if there is nothing official, it could result in a mess with sources of different developpers.
.set pedrom__stdin, pedrom__0000 .set pedrom__stdout, pedrom__0000+4 .set pedrom__stderr, pedrom__0000+8 .set pedrom__printf, pedrom__0004 .set pedrom__vcbprintf, pedrom__0005 .set pedrom__clrscr, pedrom__0006 .set pedrom__fclose, pedrom__0007 .set pedrom__freopen, pedrom__0008 .set pedrom__fopen, pedrom__0009 .set pedrom__fseek, pedrom__000a .set pedrom__ftell, pedrom__000b .set pedrom__feof, pedrom__000c .set pedrom__fputc, pedrom__000d .set pedrom__fputs, pedrom__000e .set pedrom__fwrite, pedrom__000f .set pedrom__fgetc, pedrom__0010 .set pedrom__fread, pedrom__0011 .set pedrom__fgets, pedrom__0012 .set pedrom__ungetc, pedrom__0013 .set pedrom__fflush, pedrom__0014 .set pedrom__clearerr, pedrom__0015 .set pedrom__ferror, pedrom__0016 .set pedrom__rewind, pedrom__0017 .set pedrom__fprtinf, pedrom__0018 .set pedrom__tmpnam, pedrom__0019 .set pedrom__qsort, pedrom__001b .set pedrom__bsearch, pedrom__001e .set pedrom__remove, pedrom__001f .set pedrom__unlink, pedrom__001f .set pedrom__rename, pedrom__0020 .set pedrom__atoi, pedrom__0021 .set pedrom__atol, pedrom__0021 .set pedrom__rand, pedrom__0023 .set pedrom__srand, pedrom__0024 .set pedrom__calloc, pedrom__0025 .set pedrom__realloc, pedrom__0026 .set pedrom__atof, pedrom__0027 .set pedrom__sttputchar, pedrom__0028 | ??? .set pedrom__perror, pedrom__0029 .set pedrom__getenv, pedrom__002a .set pedrom__system, pedrom__002b .set pedrom__setvbuf, pedrom__002c .set pedrom__exit, pedrom__002d .set pedrom__atexit, pedrom__002e
And don't be afraid; I am pretty sure you'll be the one and the only one who use this macro![]()
Folco (./125) :
?
Uther (./131) :PpHd (./130) :Great! Will be availible via FontSetSys?
It adds a new minor export (Side font).
Folco (./132) :
PpHd -> I'm still waiting a version of TiLP which would allow to upload log files from the calc without crashing... I have still tried yesterday...
Folco (./132) :
wow Patrick vu l'heure du build t'es un lève-tôt![]()
Graph.asm ST_folder: move.l 4(a7),a0 ST_folder_reg jsr ST_IsHelpQuit - ; Cvt to Upper case lea FOLDER_TEMP,a1 moveq #8-1,d1 \loop move.b (a0)+,d0 beq.s \fill - cmpi.b #'a'-1,d0 - bls.s \NoCvt - cmpi.b #'z',d0 - bhi.s \NoCvt - add.b #'A'-'a',d0 ; Cvt to Upper case -\NoCvt move.b d0,(a1)+ + move.b d0,(a1)+ dbf d1,\loop bra.s \final \fill move.b #' ',(a1)+ dbf d1,\fill \final move.b #' ',(a1)+ clr.b (a1)+
Lionel Debroux (./136) :
Something odd, though, but I guess that's because the patch was generated manually
Lionel Debroux (./136) :
I doubt there are two move.b d0,(a1)+.
[b]Folco (./133) :[/b] -\NoCvt move.b d0,(a1) + move.b d0,(a1)+
bcs.s \NotAFunctionCall cmp.l #kernel::EndSharedLinker,a1 ; Compare the address. Is-it inside the PreOs kernel routine? bhi.s \NotAFunctionCall - btst.l #5,d1 ; Called in supervisor mode ? + btst.l #13,d1 ; Called in supervisor mode ? beq.s \UserMode ; No move.w d1,6*4(sp) ; Rewrite SR (need another return adress on the stack) move.l a1,6*4+2(sp) ; Set the ramcall ptr as the return adress of the handler
Folco (./134) :
Suggestion : The display of the current folder name is done in upper case, but the filesystem is from now on case-sensitive.
I think it would be a good idea to disp the current folder name in the real case.
Patch (not tested, I can't compile...) :Graph.asm ST_folder: move.l 4(a7),a0 ST_folder_reg jsr ST_IsHelpQuit - ; Cvt to Upper case lea FOLDER_TEMP,a1 moveq #8-1,d1 \loop move.b (a0)+,d0 beq.s \fill - cmpi.b #'a'-1,d0 - bls.s \NoCvt - cmpi.b #'z',d0 - bhi.s \NoCvt - add.b #'A'-'a',d0 ; Cvt to Upper case -\NoCvt move.b d0,(a1)+ + move.b d0,(a1)+ dbf d1,\loop bra.s \final \fill move.b #' ',(a1)+ dbf d1,\fill \final move.b #' ',(a1)+ clr.b (a1)+