mirror of
https://github.com/irmen/prog8.git
synced 2025-07-06 06:23:59 +00:00
regenerate skeletons and set version 10.4
This commit is contained in:
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
Prog8 compiler v10.3-SNAPSHOT by Irmen de Jong (irmen@razorvine.net)
|
Prog8 compiler v10.4 by Irmen de Jong (irmen@razorvine.net)
|
||||||
Prerelease version from git commit 42f4b06a in branch master
|
|
||||||
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
||||||
|
|
||||||
Compiling program import-all-atari.p8
|
Compiling program import-all-atari.p8
|
||||||
@ -264,7 +263,7 @@ diskio {
|
|||||||
f_open_w (uword filenameptr) -> bool
|
f_open_w (uword filenameptr) -> bool
|
||||||
f_read (uword bufferpointer, uword num_bytes) -> uword
|
f_read (uword bufferpointer, uword num_bytes) -> uword
|
||||||
f_read_all (uword bufferpointer) -> uword
|
f_read_all (uword bufferpointer) -> uword
|
||||||
f_readline (uword bufptr @AY) -> clobbers (X) -> ubyte @Y
|
f_readline (uword bufptr @AY) -> clobbers (X) -> ubyte @Y, ubyte @A
|
||||||
f_write (uword bufferpointer, uword num_bytes) -> bool
|
f_write (uword bufferpointer, uword num_bytes) -> bool
|
||||||
lf_end_list ()
|
lf_end_list ()
|
||||||
lf_next_entry () -> bool
|
lf_next_entry () -> bool
|
||||||
@ -308,6 +307,7 @@ string {
|
|||||||
ltrim (str s)
|
ltrim (str s)
|
||||||
ltrimmed (str s) -> str
|
ltrimmed (str s) -> str
|
||||||
pattern_match (str string @AY, str pattern @R0) -> clobbers (Y) -> bool @A
|
pattern_match (str string @AY, str pattern @R0) -> clobbers (Y) -> bool @A
|
||||||
|
rfind (uword string @AY, ubyte character @X) -> ubyte @A, bool @Pc
|
||||||
right (uword source @AY, ubyte length @X, uword target @R1) -> clobbers (A,Y)
|
right (uword source @AY, ubyte length @X, uword target @R1) -> clobbers (A,Y)
|
||||||
rstrip (str s)
|
rstrip (str s)
|
||||||
rtrim (str s)
|
rtrim (str s)
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
Prog8 compiler v10.3-SNAPSHOT by Irmen de Jong (irmen@razorvine.net)
|
Prog8 compiler v10.4 by Irmen de Jong (irmen@razorvine.net)
|
||||||
Prerelease version from git commit 42f4b06a in branch master
|
|
||||||
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
||||||
|
|
||||||
Compiling program import-all-c128.p8
|
Compiling program import-all-c128.p8
|
||||||
@ -490,7 +489,7 @@ diskio {
|
|||||||
f_open_w (uword filenameptr) -> bool
|
f_open_w (uword filenameptr) -> bool
|
||||||
f_read (uword bufferpointer, uword num_bytes) -> uword
|
f_read (uword bufferpointer, uword num_bytes) -> uword
|
||||||
f_read_all (uword bufferpointer) -> uword
|
f_read_all (uword bufferpointer) -> uword
|
||||||
f_readline (uword bufptr @AY) -> clobbers (X) -> ubyte @Y
|
f_readline (uword bufptr @AY) -> clobbers (X) -> ubyte @Y, ubyte @A
|
||||||
f_write (uword bufferpointer, uword num_bytes) -> bool
|
f_write (uword bufferpointer, uword num_bytes) -> bool
|
||||||
lf_end_list ()
|
lf_end_list ()
|
||||||
lf_next_entry () -> bool
|
lf_next_entry () -> bool
|
||||||
@ -534,6 +533,7 @@ string {
|
|||||||
ltrim (str s)
|
ltrim (str s)
|
||||||
ltrimmed (str s) -> str
|
ltrimmed (str s) -> str
|
||||||
pattern_match (str string @AY, str pattern @R0) -> clobbers (Y) -> bool @A
|
pattern_match (str string @AY, str pattern @R0) -> clobbers (Y) -> bool @A
|
||||||
|
rfind (uword string @AY, ubyte character @X) -> ubyte @A, bool @Pc
|
||||||
right (uword source @AY, ubyte length @X, uword target @R1) -> clobbers (A,Y)
|
right (uword source @AY, ubyte length @X, uword target @R1) -> clobbers (A,Y)
|
||||||
rstrip (str s)
|
rstrip (str s)
|
||||||
rtrim (str s)
|
rtrim (str s)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Prog8 compiler v10.3-SNAPSHOT by Irmen de Jong (irmen@razorvine.net)
|
|
||||||
Prerelease version from git commit 42f4b06a in branch master
|
Prog8 compiler v10.4 by Irmen de Jong (irmen@razorvine.net)
|
||||||
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
||||||
|
|
||||||
Compiling program import-all-c64.p8
|
Compiling program import-all-c64.p8
|
||||||
@ -491,7 +491,7 @@ diskio {
|
|||||||
f_open_w (uword filenameptr) -> bool
|
f_open_w (uword filenameptr) -> bool
|
||||||
f_read (uword bufferpointer, uword num_bytes) -> uword
|
f_read (uword bufferpointer, uword num_bytes) -> uword
|
||||||
f_read_all (uword bufferpointer) -> uword
|
f_read_all (uword bufferpointer) -> uword
|
||||||
f_readline (uword bufptr @AY) -> clobbers (X) -> ubyte @Y
|
f_readline (uword bufptr @AY) -> clobbers (X) -> ubyte @Y, ubyte @A
|
||||||
f_write (uword bufferpointer, uword num_bytes) -> bool
|
f_write (uword bufferpointer, uword num_bytes) -> bool
|
||||||
lf_end_list ()
|
lf_end_list ()
|
||||||
lf_next_entry () -> bool
|
lf_next_entry () -> bool
|
||||||
@ -535,6 +535,7 @@ string {
|
|||||||
ltrim (str s)
|
ltrim (str s)
|
||||||
ltrimmed (str s) -> str
|
ltrimmed (str s) -> str
|
||||||
pattern_match (str string @AY, str pattern @R0) -> clobbers (Y) -> bool @A
|
pattern_match (str string @AY, str pattern @R0) -> clobbers (Y) -> bool @A
|
||||||
|
rfind (uword string @AY, ubyte character @X) -> ubyte @A, bool @Pc
|
||||||
right (uword source @AY, ubyte length @X, uword target @R1) -> clobbers (A,Y)
|
right (uword source @AY, ubyte length @X, uword target @R1) -> clobbers (A,Y)
|
||||||
rstrip (str s)
|
rstrip (str s)
|
||||||
rtrim (str s)
|
rtrim (str s)
|
||||||
@ -609,9 +610,12 @@ floats {
|
|||||||
SQRA () -> clobbers (A,X,Y) = $bf74
|
SQRA () -> clobbers (A,X,Y) = $bf74
|
||||||
TAN () -> clobbers (A,X,Y) = $e2b4
|
TAN () -> clobbers (A,X,Y) = $e2b4
|
||||||
atan (float value) -> float
|
atan (float value) -> float
|
||||||
|
atan2 (float y, float x) -> float
|
||||||
ceil (float value) -> float
|
ceil (float value) -> float
|
||||||
clampf (float value, float minimum, float maximum) -> float
|
clampf (float value, float minimum, float maximum) -> float
|
||||||
cos (float angle) -> float
|
cos (float angle) -> float
|
||||||
|
cot (float value) -> float
|
||||||
|
csc (float value) -> float
|
||||||
deg (float angle) -> float
|
deg (float angle) -> float
|
||||||
floor (float value) -> float
|
floor (float value) -> float
|
||||||
ln (float value) -> float
|
ln (float value) -> float
|
||||||
@ -628,6 +632,7 @@ floats {
|
|||||||
rnd () -> float
|
rnd () -> float
|
||||||
rndseed (float seed)
|
rndseed (float seed)
|
||||||
round (float value) -> float
|
round (float value) -> float
|
||||||
|
secant (float value) -> float
|
||||||
sin (float angle) -> float
|
sin (float angle) -> float
|
||||||
tan (float value) -> float
|
tan (float value) -> float
|
||||||
tostr (float value @FAC1) -> clobbers (X) -> str @AY
|
tostr (float value @FAC1) -> clobbers (X) -> str @AY
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
Prog8 compiler v10.3-SNAPSHOT by Irmen de Jong (irmen@razorvine.net)
|
Prog8 compiler v10.4 by Irmen de Jong (irmen@razorvine.net)
|
||||||
Prerelease version from git commit 42f4b06a in branch master
|
|
||||||
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
||||||
|
|
||||||
Compiling program import-all-cx16.p8
|
Compiling program import-all-cx16.p8
|
||||||
@ -69,12 +68,14 @@ diskio {
|
|||||||
f_open_w_seek (str filename) -> bool
|
f_open_w_seek (str filename) -> bool
|
||||||
f_read (uword bufferpointer, uword num_bytes) -> uword
|
f_read (uword bufferpointer, uword num_bytes) -> uword
|
||||||
f_read_all (uword bufferpointer) -> uword
|
f_read_all (uword bufferpointer) -> uword
|
||||||
f_readline (uword bufptr @AY) -> clobbers (X) -> ubyte @Y
|
f_readline (uword bufptr @AY) -> clobbers (X) -> ubyte @Y, ubyte @A
|
||||||
f_seek (uword pos_hiword, uword pos_loword)
|
f_seek (uword pos_hiword, uword pos_loword)
|
||||||
f_seek_w (uword pos_hiword, uword pos_loword)
|
f_seek_w (uword pos_hiword, uword pos_loword)
|
||||||
|
f_tell () -> uword @R0, uword @R1, uword @R2, uword @R3
|
||||||
f_write (uword bufferpointer, uword num_bytes) -> bool
|
f_write (uword bufferpointer, uword num_bytes) -> bool
|
||||||
fastmode (ubyte mode) -> bool
|
fastmode (ubyte mode) -> bool
|
||||||
internal_f_open_w (str filename, bool open_for_seeks) -> bool
|
internal_f_open_w (str filename, bool open_for_seeks) -> bool
|
||||||
|
internal_f_tell ()
|
||||||
internal_load_routine (uword filenameptr, uword address_override, bool headerless) -> uword
|
internal_load_routine (uword filenameptr, uword address_override, bool headerless) -> uword
|
||||||
internal_save_routine (uword filenameptr, uword startaddress, uword savesize, bool headerless) -> bool
|
internal_save_routine (uword filenameptr, uword startaddress, uword savesize, bool headerless) -> bool
|
||||||
lf_end_list ()
|
lf_end_list ()
|
||||||
@ -132,6 +133,7 @@ txt {
|
|||||||
iso16 ()
|
iso16 ()
|
||||||
iso5 ()
|
iso5 ()
|
||||||
iso_off ()
|
iso_off ()
|
||||||
|
kata ()
|
||||||
lowercase ()
|
lowercase ()
|
||||||
nl ()
|
nl ()
|
||||||
petscii2scr (ubyte petscii_char @A) -> ubyte @A
|
petscii2scr (ubyte petscii_char @A) -> ubyte @A
|
||||||
@ -169,6 +171,35 @@ txt {
|
|||||||
LIBRARY MODULE NAME: syslib
|
LIBRARY MODULE NAME: syslib
|
||||||
---------------------------
|
---------------------------
|
||||||
cbm {
|
cbm {
|
||||||
|
&uword CBINV
|
||||||
|
&uword CINV
|
||||||
|
&uword IBASIN
|
||||||
|
&uword IBSOUT
|
||||||
|
&uword ICHKIN
|
||||||
|
&uword ICKOUT
|
||||||
|
&uword ICLALL
|
||||||
|
&uword ICLOSE
|
||||||
|
&uword ICLRCH
|
||||||
|
&uword ICRNCH
|
||||||
|
&uword IERROR
|
||||||
|
&uword IEVAL
|
||||||
|
&uword IGETIN
|
||||||
|
&uword IGONE
|
||||||
|
&uword ILOAD
|
||||||
|
&uword IMAIN
|
||||||
|
&uword IOPEN
|
||||||
|
&uword IQPLOP
|
||||||
|
&uword IRQ_VEC
|
||||||
|
&uword ISAVE
|
||||||
|
&uword ISTOP
|
||||||
|
&uword NMINV
|
||||||
|
&uword NMI_VEC
|
||||||
|
&uword RESET_VEC
|
||||||
|
&ubyte SAREG
|
||||||
|
&ubyte SPREG
|
||||||
|
&ubyte SXREG
|
||||||
|
&ubyte SYREG
|
||||||
|
&uword USRADD
|
||||||
ACPTR () -> ubyte @A = $ffa5
|
ACPTR () -> ubyte @A = $ffa5
|
||||||
CHKIN (ubyte logical @X) -> clobbers (A,X) -> bool @Pc = $ffc6
|
CHKIN (ubyte logical @X) -> clobbers (A,X) -> bool @Pc = $ffc6
|
||||||
CHKOUT (ubyte logical @X) -> clobbers (A,X) = $ffc9
|
CHKOUT (ubyte logical @X) -> clobbers (A,X) = $ffc9
|
||||||
@ -217,8 +248,6 @@ cbm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cx16 {
|
cx16 {
|
||||||
&uword CBINV
|
|
||||||
&uword CINV
|
|
||||||
const ubyte EXTAPI16_stack_enter_kernal_stack
|
const ubyte EXTAPI16_stack_enter_kernal_stack
|
||||||
const ubyte EXTAPI16_stack_leave_kernal_stack
|
const ubyte EXTAPI16_stack_leave_kernal_stack
|
||||||
const ubyte EXTAPI16_stack_pop
|
const ubyte EXTAPI16_stack_pop
|
||||||
@ -236,34 +265,8 @@ cx16 {
|
|||||||
const ubyte EXTAPI_ps2data_fetch
|
const ubyte EXTAPI_ps2data_fetch
|
||||||
const ubyte EXTAPI_ps2data_raw
|
const ubyte EXTAPI_ps2data_raw
|
||||||
const ubyte EXTAPI_ps2kbd_typematic
|
const ubyte EXTAPI_ps2kbd_typematic
|
||||||
&uword IBASIN
|
const ubyte EXTAPI_scnsiz
|
||||||
&uword IBSOUT
|
|
||||||
&uword ICHKIN
|
|
||||||
&uword ICKOUT
|
|
||||||
&uword ICLALL
|
|
||||||
&uword ICLOSE
|
|
||||||
&uword ICLRCH
|
|
||||||
&uword ICRNCH
|
|
||||||
&uword IERROR
|
|
||||||
&uword IEVAL
|
|
||||||
&uword IGETIN
|
|
||||||
&uword IGONE
|
|
||||||
&uword ILOAD
|
|
||||||
&uword IMAIN
|
|
||||||
&uword IOPEN
|
|
||||||
&uword IQPLOP
|
|
||||||
&uword IRQ_VEC
|
|
||||||
&uword ISAVE
|
|
||||||
&uword ISTOP
|
|
||||||
&uword KEYHDL
|
&uword KEYHDL
|
||||||
&uword NMINV
|
|
||||||
&uword NMI_VEC
|
|
||||||
&uword RESET_VEC
|
|
||||||
&ubyte SAREG
|
|
||||||
&ubyte SPREG
|
|
||||||
&ubyte SXREG
|
|
||||||
&ubyte SYREG
|
|
||||||
&uword USRADD
|
|
||||||
&uword VERA_ADDR
|
&uword VERA_ADDR
|
||||||
&ubyte VERA_ADDR_H
|
&ubyte VERA_ADDR_H
|
||||||
&ubyte VERA_ADDR_L
|
&ubyte VERA_ADDR_L
|
||||||
@ -441,6 +444,7 @@ cx16 {
|
|||||||
&word r9s
|
&word r9s
|
||||||
&byte r9sH
|
&byte r9sH
|
||||||
&byte r9sL
|
&byte r9sL
|
||||||
|
&ubyte stavec
|
||||||
&ubyte via1acr
|
&ubyte via1acr
|
||||||
&ubyte via1ddra
|
&ubyte via1ddra
|
||||||
&ubyte via1ddrb
|
&ubyte via1ddrb
|
||||||
@ -534,7 +538,7 @@ cx16 {
|
|||||||
enter_basic (bool cold_or_warm @Pc) -> clobbers (A,X,Y) = $ff47
|
enter_basic (bool cold_or_warm @Pc) -> clobbers (A,X,Y) = $ff47
|
||||||
entropy_get () -> ubyte @A, ubyte @X, ubyte @Y = $fecf
|
entropy_get () -> ubyte @A, ubyte @X, ubyte @Y = $fecf
|
||||||
extapi (ubyte callnumber @A) -> clobbers (A,X,Y) = $feab
|
extapi (ubyte callnumber @A) -> clobbers (A,X,Y) = $feab
|
||||||
fetch (ubyte bank @X, ubyte index @Y) -> clobbers (X) -> ubyte @A = $ff74
|
fetch (ubyte zp_startaddr @A, ubyte bank @X, ubyte index @Y) -> clobbers (X) -> ubyte @A = $ff74
|
||||||
get_chrin_keyhandler () -> ubyte @R0, uword @R1
|
get_chrin_keyhandler () -> ubyte @R0, uword @R1
|
||||||
get_program_args (uword buffer @R0, ubyte buf_size @R1, bool binary @Pc)
|
get_program_args (uword buffer @R0, ubyte buf_size @R1, bool binary @Pc)
|
||||||
get_screen_mode () -> ubyte @A, ubyte @X, ubyte @Y
|
get_screen_mode () -> ubyte @A, ubyte @X, ubyte @Y
|
||||||
@ -559,9 +563,9 @@ cx16 {
|
|||||||
monitor () -> clobbers (A,X,Y) = $fecc
|
monitor () -> clobbers (A,X,Y) = $fecc
|
||||||
mouse_config (byte shape @A, ubyte resX @X, ubyte resY @Y) -> clobbers (A,X,Y) = $ff68
|
mouse_config (byte shape @A, ubyte resX @X, ubyte resY @Y) -> clobbers (A,X,Y) = $ff68
|
||||||
mouse_config2 (byte shape @A) -> clobbers (A,X,Y)
|
mouse_config2 (byte shape @A) -> clobbers (A,X,Y)
|
||||||
mouse_get (ubyte zpdataptr @X) -> ubyte @A = $ff6b
|
mouse_get (ubyte zdataptr @X) -> ubyte @A, byte @X = $ff6b
|
||||||
mouse_get_sprite_offset () -> clobbers (A,X,Y) -> word @R0, word @R1
|
mouse_get_sprite_offset () -> clobbers (A,X,Y) -> word @R0, word @R1
|
||||||
mouse_pos () -> clobbers (X) -> ubyte @A, word @R0, word @R1
|
mouse_pos () -> ubyte @A, uword @R0, uword @R1, byte @X
|
||||||
mouse_scan () -> clobbers (A,X,Y) = $ff71
|
mouse_scan () -> clobbers (A,X,Y) = $ff71
|
||||||
mouse_set_pos (uword xpos @R0, uword ypos @R1) -> clobbers (X)
|
mouse_set_pos (uword xpos @R0, uword ypos @R1) -> clobbers (X)
|
||||||
mouse_set_sprite_offset (word xoffset @R0, word yoffset @R1) -> clobbers (A,X,Y)
|
mouse_set_sprite_offset (word xoffset @R0, word yoffset @R1) -> clobbers (A,X,Y)
|
||||||
@ -598,9 +602,11 @@ cx16 {
|
|||||||
reset_system ()
|
reset_system ()
|
||||||
restore_vera_context () -> clobbers (A)
|
restore_vera_context () -> clobbers (A)
|
||||||
restore_virtual_registers () -> clobbers (A,Y)
|
restore_virtual_registers () -> clobbers (A,Y)
|
||||||
|
rom_version () -> clobbers (Y) -> ubyte @A, bool @Pc
|
||||||
rombank (ubyte bank @A)
|
rombank (ubyte bank @A)
|
||||||
save_vera_context () -> clobbers (A)
|
save_vera_context () -> clobbers (A)
|
||||||
save_virtual_registers () -> clobbers (A,Y)
|
save_virtual_registers () -> clobbers (A,Y)
|
||||||
|
scnsiz (ubyte width @X, ubyte heigth @Y) -> clobbers (A,X,Y)
|
||||||
screen_mode (ubyte mode @A, bool getCurrent @Pc) -> ubyte @A, ubyte @X, ubyte @Y, bool @Pc = $ff5f
|
screen_mode (ubyte mode @A, bool getCurrent @Pc) -> ubyte @A, ubyte @X, ubyte @Y, bool @Pc = $ff5f
|
||||||
screen_set_charset (ubyte charset @A, uword charsetptr @XY) -> clobbers (A,X,Y) = $ff62
|
screen_set_charset (ubyte charset @A, uword charsetptr @XY) -> clobbers (A,X,Y) = $ff62
|
||||||
search_x16edit () -> ubyte
|
search_x16edit () -> ubyte
|
||||||
@ -741,6 +747,7 @@ string {
|
|||||||
ltrim (str s)
|
ltrim (str s)
|
||||||
ltrimmed (str s) -> str
|
ltrimmed (str s) -> str
|
||||||
pattern_match (str string @AY, str pattern @R0) -> clobbers (Y) -> bool @A
|
pattern_match (str string @AY, str pattern @R0) -> clobbers (Y) -> bool @A
|
||||||
|
rfind (uword string @AY, ubyte character @X) -> ubyte @A, bool @Pc
|
||||||
right (uword source @AY, ubyte length @X, uword target @R1) -> clobbers (A,Y)
|
right (uword source @AY, ubyte length @X, uword target @R1) -> clobbers (A,Y)
|
||||||
rstrip (str s)
|
rstrip (str s)
|
||||||
rtrim (str s)
|
rtrim (str s)
|
||||||
@ -856,9 +863,12 @@ floats {
|
|||||||
VAL_1 (uword string @XY, ubyte length @A) -> clobbers (A,X,Y) -> float @FAC1 = $fe09
|
VAL_1 (uword string @XY, ubyte length @A) -> clobbers (A,X,Y) -> float @FAC1 = $fe09
|
||||||
ZEROFC () -> clobbers (A,X,Y) = $fe72
|
ZEROFC () -> clobbers (A,X,Y) = $fe72
|
||||||
atan (float value) -> float
|
atan (float value) -> float
|
||||||
|
atan2 (float y, float x) -> float
|
||||||
ceil (float value) -> float
|
ceil (float value) -> float
|
||||||
clampf (float value, float minimum, float maximum) -> float
|
clampf (float value, float minimum, float maximum) -> float
|
||||||
cos (float angle) -> float
|
cos (float angle) -> float
|
||||||
|
cot (float value) -> float
|
||||||
|
csc (float value) -> float
|
||||||
deg (float angle) -> float
|
deg (float angle) -> float
|
||||||
floor (float value) -> float
|
floor (float value) -> float
|
||||||
ln (float value) -> float
|
ln (float value) -> float
|
||||||
@ -875,6 +885,7 @@ floats {
|
|||||||
rnd () -> float
|
rnd () -> float
|
||||||
rndseed (float seed)
|
rndseed (float seed)
|
||||||
round (float value) -> float
|
round (float value) -> float
|
||||||
|
secant (float value) -> float
|
||||||
sin (float angle) -> float
|
sin (float angle) -> float
|
||||||
tan (float value) -> float
|
tan (float value) -> float
|
||||||
tostr (float value @FAC1) -> clobbers (X) -> str @AY
|
tostr (float value @FAC1) -> clobbers (X) -> str @AY
|
||||||
@ -1077,7 +1088,8 @@ sprites {
|
|||||||
data (ubyte spritenum, ubyte bank, uword addr)
|
data (ubyte spritenum, ubyte bank, uword addr)
|
||||||
flipx (ubyte spritenum, bool flipped)
|
flipx (ubyte spritenum, bool flipped)
|
||||||
flipy (ubyte spritenum, bool flipped)
|
flipy (ubyte spritenum, bool flipped)
|
||||||
get_data_ptr (ubyte spritenum)
|
get_data_ptr (ubyte spritenum @A) -> ubyte @R1, uword @R0
|
||||||
|
get_data_ptr_internal (ubyte spritenum)
|
||||||
getx (ubyte spritenum) -> word
|
getx (ubyte spritenum) -> word
|
||||||
gety (ubyte spritenum) -> word
|
gety (ubyte spritenum) -> word
|
||||||
hide (ubyte spritenum)
|
hide (ubyte spritenum)
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
Prog8 compiler v10.3-SNAPSHOT by Irmen de Jong (irmen@razorvine.net)
|
Prog8 compiler v10.4 by Irmen de Jong (irmen@razorvine.net)
|
||||||
Prerelease version from git commit 42f4b06a in branch master
|
|
||||||
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
||||||
|
|
||||||
Compiling program import-all-pet32.p8
|
Compiling program import-all-pet32.p8
|
||||||
@ -281,7 +280,7 @@ diskio {
|
|||||||
f_open_w (uword filenameptr) -> bool
|
f_open_w (uword filenameptr) -> bool
|
||||||
f_read (uword bufferpointer, uword num_bytes) -> uword
|
f_read (uword bufferpointer, uword num_bytes) -> uword
|
||||||
f_read_all (uword bufferpointer) -> uword
|
f_read_all (uword bufferpointer) -> uword
|
||||||
f_readline (uword bufptr @AY) -> clobbers (X) -> ubyte @Y
|
f_readline (uword bufptr @AY) -> clobbers (X) -> ubyte @Y, ubyte @A
|
||||||
f_write (uword bufferpointer, uword num_bytes) -> bool
|
f_write (uword bufferpointer, uword num_bytes) -> bool
|
||||||
lf_end_list ()
|
lf_end_list ()
|
||||||
lf_next_entry () -> bool
|
lf_next_entry () -> bool
|
||||||
@ -325,6 +324,7 @@ string {
|
|||||||
ltrim (str s)
|
ltrim (str s)
|
||||||
ltrimmed (str s) -> str
|
ltrimmed (str s) -> str
|
||||||
pattern_match (str string @AY, str pattern @R0) -> clobbers (Y) -> bool @A
|
pattern_match (str string @AY, str pattern @R0) -> clobbers (Y) -> bool @A
|
||||||
|
rfind (uword string @AY, ubyte character @X) -> ubyte @A, bool @Pc
|
||||||
right (uword source @AY, ubyte length @X, uword target @R1) -> clobbers (A,Y)
|
right (uword source @AY, ubyte length @X, uword target @R1) -> clobbers (A,Y)
|
||||||
rstrip (str s)
|
rstrip (str s)
|
||||||
rtrim (str s)
|
rtrim (str s)
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
Prog8 compiler v10.3-SNAPSHOT by Irmen de Jong (irmen@razorvine.net)
|
Prog8 compiler v10.4 by Irmen de Jong (irmen@razorvine.net)
|
||||||
Prerelease version from git commit 42f4b06a in branch master
|
|
||||||
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
This software is licensed under the GNU GPL 3.0, see https://www.gnu.org/licenses/gpl.html
|
||||||
|
|
||||||
Compiling program import-all-virtual.p8
|
Compiling program import-all-virtual.p8
|
||||||
@ -114,6 +113,7 @@ LIBRARY MODULE NAME: syslib
|
|||||||
sys {
|
sys {
|
||||||
const ubyte target
|
const ubyte target
|
||||||
clear_carry ()
|
clear_carry ()
|
||||||
|
clear_irqd ()
|
||||||
disable_caseswitch ()
|
disable_caseswitch ()
|
||||||
enable_caseswitch ()
|
enable_caseswitch ()
|
||||||
exit (ubyte returnvalue)
|
exit (ubyte returnvalue)
|
||||||
@ -134,6 +134,7 @@ sys {
|
|||||||
restore_prog8_internals ()
|
restore_prog8_internals ()
|
||||||
save_prog8_internals ()
|
save_prog8_internals ()
|
||||||
set_carry ()
|
set_carry ()
|
||||||
|
set_irqd ()
|
||||||
wait (uword jiffies)
|
wait (uword jiffies)
|
||||||
waitvsync ()
|
waitvsync ()
|
||||||
}
|
}
|
||||||
@ -258,9 +259,12 @@ floats {
|
|||||||
const float TWOPI
|
const float TWOPI
|
||||||
const float π
|
const float π
|
||||||
atan (float value) -> float
|
atan (float value) -> float
|
||||||
|
atan2 (float y, float x) -> float
|
||||||
ceil (float value) -> float
|
ceil (float value) -> float
|
||||||
clampf (float value, float minimum, float maximum) -> float
|
clampf (float value, float minimum, float maximum) -> float
|
||||||
cos (float angle) -> float
|
cos (float angle) -> float
|
||||||
|
cot (float value) -> float
|
||||||
|
csc (float value) -> float
|
||||||
deg (float angle) -> float
|
deg (float angle) -> float
|
||||||
floor (float value) -> float
|
floor (float value) -> float
|
||||||
ln (float value) -> float
|
ln (float value) -> float
|
||||||
@ -277,6 +281,7 @@ floats {
|
|||||||
rnd () -> float
|
rnd () -> float
|
||||||
rndseed (float seed)
|
rndseed (float seed)
|
||||||
round (float value) -> float
|
round (float value) -> float
|
||||||
|
secant (float value) -> float
|
||||||
sin (float angle) -> float
|
sin (float angle) -> float
|
||||||
tan (float value) -> float
|
tan (float value) -> float
|
||||||
tostr (float value) -> str
|
tostr (float value) -> str
|
||||||
@ -377,6 +382,7 @@ string {
|
|||||||
lstripped (str s) -> str
|
lstripped (str s) -> str
|
||||||
ltrim (str s)
|
ltrim (str s)
|
||||||
ltrimmed (str s) -> str
|
ltrimmed (str s) -> str
|
||||||
|
rfind (uword stringptr, ubyte character) -> ubyte
|
||||||
right (str source, ubyte slen, str target)
|
right (str source, ubyte slen, str target)
|
||||||
rstrip (str s)
|
rstrip (str s)
|
||||||
rtrim (str s)
|
rtrim (str s)
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
TODO
|
TODO
|
||||||
====
|
====
|
||||||
|
|
||||||
See open issues on github.
|
|
||||||
|
|
||||||
Re-generate the skeletons doc files.
|
|
||||||
|
|
||||||
Improve register load order in subroutine call args assignments:
|
Improve register load order in subroutine call args assignments:
|
||||||
in certain situations, the "wrong" order of evaluation of function call arguments is done which results
|
in certain situations, the "wrong" order of evaluation of function call arguments is done which results
|
||||||
in overwriting registers that already got their value, which requires a lot of stack juggling (especially on plain 6502 cpu!)
|
in overwriting registers that already got their value, which requires a lot of stack juggling (especially on plain 6502 cpu!)
|
||||||
|
@ -5,4 +5,4 @@ org.gradle.daemon=true
|
|||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
javaVersion=11
|
javaVersion=11
|
||||||
kotlinVersion=2.0.20
|
kotlinVersion=2.0.20
|
||||||
version=10.4-SNAPSHOT
|
version=10.4
|
||||||
|
Reference in New Issue
Block a user