mirror of https://github.com/wwarthen/RomWBW.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
4.0 KiB
65 lines
4.0 KiB
1 ;--------------------------------------------------------
|
|
2 ; File Created by SDCC : free open source ANSI-C Compiler
|
|
3 ; Version 3.0.2 #6489 (May 10 2011) (Mac OS X x86_64)
|
|
4 ; This file was generated Wed May 11 05:28:20 2011
|
|
5 ;--------------------------------------------------------
|
|
6 .module cpmbdos
|
|
7 .optsdcc -mz80
|
|
8
|
|
9 ;--------------------------------------------------------
|
|
10 ; Public variables in this module
|
|
11 ;--------------------------------------------------------
|
|
12 .globl _cpmbdos
|
|
13 ;--------------------------------------------------------
|
|
14 ; special function registers
|
|
15 ;--------------------------------------------------------
|
|
16 ;--------------------------------------------------------
|
|
17 ; ram data
|
|
18 ;--------------------------------------------------------
|
|
19 .area _DATA
|
|
20 ;--------------------------------------------------------
|
|
21 ; overlayable items in ram
|
|
22 ;--------------------------------------------------------
|
|
23 .area _OVERLAY
|
|
24 ;--------------------------------------------------------
|
|
25 ; external initialized ram data
|
|
26 ;--------------------------------------------------------
|
|
27 ;--------------------------------------------------------
|
|
28 ; global & static initialisations
|
|
29 ;--------------------------------------------------------
|
|
30 .area _HOME
|
|
31 .area _GSINIT
|
|
32 .area _GSFINAL
|
|
33 .area _GSINIT
|
|
34 ;--------------------------------------------------------
|
|
35 ; Home
|
|
36 ;--------------------------------------------------------
|
|
37 .area _HOME
|
|
38 .area _HOME
|
|
39 ;--------------------------------------------------------
|
|
40 ; code
|
|
41 ;--------------------------------------------------------
|
|
42 .area _CODE
|
|
43 ;cpmbdos.c:1: unsigned char cpmbdos(void * p)
|
|
44 ; ---------------------------------
|
|
45 ; Function cpmbdos
|
|
46 ; ---------------------------------
|
|
0000 47 _cpmbdos_start::
|
|
0000 48 _cpmbdos:
|
|
0000 DD E5 49 push ix
|
|
0002 DD 21 00 00 50 ld ix,#0
|
|
0006 DD 39 51 add ix,sp
|
|
52 ;cpmbdos.c:3: return 2;
|
|
0008 DD 6E 04 53 ld l,4(ix)
|
|
000B DD 66 05 54 ld h,5(ix)
|
|
000E 4E 55 ld c,(hl)
|
|
000F 23 56 inc hl
|
|
0010 5E 57 ld e,(hl)
|
|
0011 23 58 inc hl
|
|
0012 56 59 ld d,(hl)
|
|
0013 CD 05 00 60 call 5
|
|
0016 DD E1 61 pop ix
|
|
0018 C9 62 ret
|
|
0019 63 _cpmbdos_end::
|
|
64 .area _CODE
|
|
65 .area _CABS
|
|
|