Home » Archimedes archive » Acorn User » AU 1993-08.adf » !3DGraphic_3DGraphic » Source/Version

Source/Version

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1993-08.adf » !3DGraphic_3DGraphic
Filename: Source/Version
Read OK:
File size: 03B2 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM >Source.Version
   20REM BAU3D module version
   30REM by DCA
   40REM for 32-bit machines
   50REM (c) BAU July 1993
   60:
   70DEF FNversion="0.20 (04 June 1993)"
   80:
   90DEF FNinit_code
  100default_zplus=200000
  110default_s=800
  120[OPT pass%
  130        STMFD   (sp)!,{r0-r11,link}
  140        LDR     wp,[r12]
  150        ADR     r0,zdefaults
  160        FNadrl(1,min_z)
  170        LDMIA   r0,{r2-r3}
  180        STMIA   r1,{r2-r3}
  190        ADR     r0,config_defaults
  200        FNadrl(1,flags)
  210        LDMIA   r0,{r2-r4}
  220        STMIA   r1,{r2-r4}
  230        FNadrl(1,poly_point)
  240        MOV     r0,#0
  250        STR     r0,[r1]
  260        FNadrl(1,heap_base)
  270        STR     r0,[r1]
  280        LDMFD   (sp)!,{r0-r11,link}
  290
  300.zdefaults
  310        DCD     -default_zplus*0.9
  320        DCD     10000000
  330
  340.config_defaults
  350        DCD     %01
  360        DCD     default_s
  370        DCD     default_zplus
  380]
  390=0
  400:
  410DEF FNfinal_code
  420=0

� >Source.Version
� BAU3D module version
� by DCA
(� for 32-bit machines
2� (c) BAU July 1993
<:
F$� �version="0.20 (04 June 1993)"
P:
Z� �init_code
ddefault_zplus=200000
ndefault_s=800
x[OPT pass%
�'        STMFD   (sp)!,{r0-r11,link}
�        LDR     wp,[r12]
�         ADR     r0,zdefaults
�        �adrl(1,min_z)
�        LDMIA   r0,{r2-r3}
�        STMIA   r1,{r2-r3}
�&        ADR     r0,config_defaults
�        �adrl(1,flags)
�        LDMIA   r0,{r2-r4}
�        STMIA   r1,{r2-r4}
�        �adrl(1,poly_point)
�        MOV     r0,#0
�        STR     r0,[r1]
        �adrl(1,heap_base)
        STR     r0,[r1]
'        LDMFD   (sp)!,{r0-r11,link}
"
,.zdefaults
6&        DCD     -default_zplus*0.9
@        DCD     10000000
J
T.config_defaults
^        DCD     %01
h        DCD     default_s
r!        DCD     default_zplus
|]
�=0
�:
�� �final_code
�=0
�
00000000  0d 00 0a 15 f4 20 3e 53  6f 75 72 63 65 2e 56 65  |..... >Source.Ve|
00000010  72 73 69 6f 6e 0d 00 14  1a f4 20 42 41 55 33 44  |rsion..... BAU3D|
00000020  20 6d 6f 64 75 6c 65 20  76 65 72 73 69 6f 6e 0d  | module version.|
00000030  00 1e 0c f4 20 62 79 20  44 43 41 0d 00 28 19 f4  |.... by DCA..(..|
00000040  20 66 6f 72 20 33 32 2d  62 69 74 20 6d 61 63 68  | for 32-bit mach|
00000050  69 6e 65 73 0d 00 32 17  f4 20 28 63 29 20 42 41  |ines..2.. (c) BA|
00000060  55 20 4a 75 6c 79 20 31  39 39 33 0d 00 3c 05 3a  |U July 1993..<.:|
00000070  0d 00 46 24 dd 20 a4 76  65 72 73 69 6f 6e 3d 22  |..F$. .version="|
00000080  30 2e 32 30 20 28 30 34  20 4a 75 6e 65 20 31 39  |0.20 (04 June 19|
00000090  39 33 29 22 0d 00 50 05  3a 0d 00 5a 10 dd 20 a4  |93)"..P.:..Z.. .|
000000a0  69 6e 69 74 5f 63 6f 64  65 0d 00 64 18 64 65 66  |init_code..d.def|
000000b0  61 75 6c 74 5f 7a 70 6c  75 73 3d 32 30 30 30 30  |ault_zplus=20000|
000000c0  30 0d 00 6e 11 64 65 66  61 75 6c 74 5f 73 3d 38  |0..n.default_s=8|
000000d0  30 30 0d 00 78 0e 5b 4f  50 54 20 70 61 73 73 25  |00..x.[OPT pass%|
000000e0  0d 00 82 27 20 20 20 20  20 20 20 20 53 54 4d 46  |...'        STMF|
000000f0  44 20 20 20 28 73 70 29  21 2c 7b 72 30 2d 72 31  |D   (sp)!,{r0-r1|
00000100  31 2c 6c 69 6e 6b 7d 0d  00 8c 1c 20 20 20 20 20  |1,link}....     |
00000110  20 20 20 4c 44 52 20 20  20 20 20 77 70 2c 5b 72  |   LDR     wp,[r|
00000120  31 32 5d 0d 00 96 20 20  20 20 20 20 20 20 20 41  |12]...         A|
00000130  44 52 20 20 20 20 20 72  30 2c 7a 64 65 66 61 75  |DR     r0,zdefau|
00000140  6c 74 73 0d 00 a0 1a 20  20 20 20 20 20 20 20 a4  |lts....        .|
00000150  61 64 72 6c 28 31 2c 6d  69 6e 5f 7a 29 0d 00 aa  |adrl(1,min_z)...|
00000160  1e 20 20 20 20 20 20 20  20 4c 44 4d 49 41 20 20  |.        LDMIA  |
00000170  20 72 30 2c 7b 72 32 2d  72 33 7d 0d 00 b4 1e 20  | r0,{r2-r3}.... |
00000180  20 20 20 20 20 20 20 53  54 4d 49 41 20 20 20 72  |       STMIA   r|
00000190  31 2c 7b 72 32 2d 72 33  7d 0d 00 be 26 20 20 20  |1,{r2-r3}...&   |
000001a0  20 20 20 20 20 41 44 52  20 20 20 20 20 72 30 2c  |     ADR     r0,|
000001b0  63 6f 6e 66 69 67 5f 64  65 66 61 75 6c 74 73 0d  |config_defaults.|
000001c0  00 c8 1a 20 20 20 20 20  20 20 20 a4 61 64 72 6c  |...        .adrl|
000001d0  28 31 2c 66 6c 61 67 73  29 0d 00 d2 1e 20 20 20  |(1,flags)....   |
000001e0  20 20 20 20 20 4c 44 4d  49 41 20 20 20 72 30 2c  |     LDMIA   r0,|
000001f0  7b 72 32 2d 72 34 7d 0d  00 dc 1e 20 20 20 20 20  |{r2-r4}....     |
00000200  20 20 20 53 54 4d 49 41  20 20 20 72 31 2c 7b 72  |   STMIA   r1,{r|
00000210  32 2d 72 34 7d 0d 00 e6  1f 20 20 20 20 20 20 20  |2-r4}....       |
00000220  20 a4 61 64 72 6c 28 31  2c 70 6f 6c 79 5f 70 6f  | .adrl(1,poly_po|
00000230  69 6e 74 29 0d 00 f0 19  20 20 20 20 20 20 20 20  |int)....        |
00000240  4d 4f 56 20 20 20 20 20  72 30 2c 23 30 0d 00 fa  |MOV     r0,#0...|
00000250  1b 20 20 20 20 20 20 20  20 53 54 52 20 20 20 20  |.        STR    |
00000260  20 72 30 2c 5b 72 31 5d  0d 01 04 1e 20 20 20 20  | r0,[r1]....    |
00000270  20 20 20 20 a4 61 64 72  6c 28 31 2c 68 65 61 70  |    .adrl(1,heap|
00000280  5f 62 61 73 65 29 0d 01  0e 1b 20 20 20 20 20 20  |_base)....      |
00000290  20 20 53 54 52 20 20 20  20 20 72 30 2c 5b 72 31  |  STR     r0,[r1|
000002a0  5d 0d 01 18 27 20 20 20  20 20 20 20 20 4c 44 4d  |]...'        LDM|
000002b0  46 44 20 20 20 28 73 70  29 21 2c 7b 72 30 2d 72  |FD   (sp)!,{r0-r|
000002c0  31 31 2c 6c 69 6e 6b 7d  0d 01 22 04 0d 01 2c 0e  |11,link}.."...,.|
000002d0  2e 7a 64 65 66 61 75 6c  74 73 0d 01 36 26 20 20  |.zdefaults..6&  |
000002e0  20 20 20 20 20 20 44 43  44 20 20 20 20 20 2d 64  |      DCD     -d|
000002f0  65 66 61 75 6c 74 5f 7a  70 6c 75 73 2a 30 2e 39  |efault_zplus*0.9|
00000300  0d 01 40 1c 20 20 20 20  20 20 20 20 44 43 44 20  |..@.        DCD |
00000310  20 20 20 20 31 30 30 30  30 30 30 30 0d 01 4a 04  |    10000000..J.|
00000320  0d 01 54 14 2e 63 6f 6e  66 69 67 5f 64 65 66 61  |..T..config_defa|
00000330  75 6c 74 73 0d 01 5e 17  20 20 20 20 20 20 20 20  |ults..^.        |
00000340  44 43 44 20 20 20 20 20  25 30 31 0d 01 68 1d 20  |DCD     %01..h. |
00000350  20 20 20 20 20 20 20 44  43 44 20 20 20 20 20 64  |       DCD     d|
00000360  65 66 61 75 6c 74 5f 73  0d 01 72 21 20 20 20 20  |efault_s..r!    |
00000370  20 20 20 20 44 43 44 20  20 20 20 20 64 65 66 61  |    DCD     defa|
00000380  75 6c 74 5f 7a 70 6c 75  73 0d 01 7c 05 5d 0d 01  |ult_zplus..|.]..|
00000390  86 06 3d 30 0d 01 90 05  3a 0d 01 9a 11 dd 20 a4  |..=0....:..... .|
000003a0  66 69 6e 61 6c 5f 63 6f  64 65 0d 01 a4 06 3d 30  |final_code....=0|
000003b0  0d ff                                             |..|
000003b2