]> git.sur5r.net Git - cc65/blob - libsrc/geos-common/system/sysuname.s
Added a blank line between .include statements and .import/.export statements
[cc65] / libsrc / geos-common / system / sysuname.s
1 ;
2 ; Ullrich von Bassewitz, 2003-08-12
3 ;
4 ; unsigned char __fastcall__ _sysuname (struct utsname* buf);
5 ;
6
7             .import utscopy
8             .export __sysuname, utsdata
9
10 __sysuname      = utscopy
11
12 ;--------------------------------------------------------------------------
13 ; Data. We define a fixed utsname struct here and just copy it.
14
15 .rodata
16
17 utsdata:
18         ; sysname
19         .asciiz "cc65"
20
21         ; nodename
22         .asciiz ""
23
24         ; release
25         .byte ((.VERSION >> 8) & $0F) + '0'
26         .byte '.'
27         .byte ((.VERSION >> 4) & $0F) + '0'
28         .byte $00
29
30         ; version
31         .byte (.VERSION & $0F) + '0'
32         .byte $00
33
34         ; machine
35         .asciiz "GEOS"
36
37
38