Digital Research
This commit is contained in:
2020-11-06 18:50:37 +01:00
parent 621ed8ccaf
commit 31738079c4
8481 changed files with 1888323 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
*
* This module is designed to allow the use of "printf" without
* dragging in the entire floating point RTL.
*
.globl nofloat
.globl _petoa * Called from "_doprt"
.globl _pftoa * Called from "_doprt"
nofloat:
_petoa:
_pftoa:
move.l #9,d0 * Print string BDOS Call
move.l #fpstring,d1 * d1 -> string to print
trap #2 * Print the error
clr.l d0 * Now
trap #2 * exit
.data *
fpstring:
.dc.b 'C RTL -- Program not linked for floating point'
.dc.b $0d,$0a,'$'
.even