mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-09-01 15:28:55 +00:00
Library: added symbol for c64 float call $bcf3, also fixed typo
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@61 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
parent
b2afe0d5f4
commit
c3e12f91db
@ -102,6 +102,7 @@ lib_cbm_c64_float_a = 1
|
||||
fac1_compare_to_memAY = $bc5b ; compare to mflpt value in memory
|
||||
fac1_to_signed32 = $bc9b
|
||||
fac1_int = $bccc ; INT()
|
||||
fac1_read_string0 = $bcf3 ; use b7b5 instead; this only works after calling CHRGET
|
||||
fac1_print_unsignedXA = $bdcd
|
||||
fac1_to_string = $bddd ; string is stored at $0100 (address returned in AY)
|
||||
fac1_sqr = $bf71 ; SQR()
|
||||
|
@ -13,7 +13,7 @@ lib_cbm_flpt_a = 1
|
||||
; This file contains a macro for writing floating point numbers in the six-byte
|
||||
; "flpt" format, where the sign bit occupies the sixth byte.
|
||||
; There are no interpreter functions to use this format, so you will have to
|
||||
; write you own functions for "copy-mem-to-fac1", "copy-fac2-to-mem" etc.
|
||||
; write your own functions for "copy-mem-to-fac1", "copy-fac2-to-mem" etc.
|
||||
|
||||
; Use the macro like this:
|
||||
; +flpt 3.1415926 ; each use will take up six bytes of memory
|
||||
|
Loading…
Reference in New Issue
Block a user