Home » Archimedes archive » Acorn User » AU 1997-05 B.adf » Regulars » StarInfo/clouds/Brown/h/mapfn

StarInfo/clouds/Brown/h/mapfn

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 1997-05 B.adf » Regulars
Filename: StarInfo/clouds/Brown/h/mapfn
Read OK:
File size: 00C2 bytes
Load address: 0000
Exec address: 0000
File contents
typedef struct {
  int *screenbase;
  int *source;
  int *divtab;
  int sin;
  int cos;
  int diffx;
  int diffz;
} paramblock;

void copy(int *src, int *dest);
void maptoceil(paramblock *in);
00000000  0a 74 79 70 65 64 65 66  20 73 74 72 75 63 74 20  |.typedef struct |
00000010  7b 0a 20 20 69 6e 74 20  2a 73 63 72 65 65 6e 62  |{.  int *screenb|
00000020  61 73 65 3b 0a 20 20 69  6e 74 20 2a 73 6f 75 72  |ase;.  int *sour|
00000030  63 65 3b 0a 20 20 69 6e  74 20 2a 64 69 76 74 61  |ce;.  int *divta|
00000040  62 3b 0a 20 20 69 6e 74  20 73 69 6e 3b 0a 20 20  |b;.  int sin;.  |
00000050  69 6e 74 20 63 6f 73 3b  0a 20 20 69 6e 74 20 64  |int cos;.  int d|
00000060  69 66 66 78 3b 0a 20 20  69 6e 74 20 64 69 66 66  |iffx;.  int diff|
00000070  7a 3b 0a 7d 20 70 61 72  61 6d 62 6c 6f 63 6b 3b  |z;.} paramblock;|
00000080  0a 0a 76 6f 69 64 20 63  6f 70 79 28 69 6e 74 20  |..void copy(int |
00000090  2a 73 72 63 2c 20 69 6e  74 20 2a 64 65 73 74 29  |*src, int *dest)|
000000a0  3b 0a 76 6f 69 64 20 6d  61 70 74 6f 63 65 69 6c  |;.void maptoceil|
000000b0  28 70 61 72 61 6d 62 6c  6f 63 6b 20 2a 69 6e 29  |(paramblock *in)|
000000c0  3b 0a                                             |;.|
000000c2