Subversion Repositories SvarDOS

Rev

Rev 455 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 455 Rev 1596
Line 46... Line 46...
46
  *myparent = rmod->origparent;
46
  *myparent = rmod->origparent;
47
 
47
 
48
  _asm {
48
  _asm {
49
    /* free RMOD's code segment and env segment */
49
    /* free RMOD's code segment and env segment */
50
    mov ah, 0x49   /* DOS 2+ -- Free Memory Block */
50
    mov ah, 0x49   /* DOS 2+ -- Free Memory Block */
51
    mov es, [rmodseg]
51
    mov es, rmodseg
52
    int 0x21
52
    int 0x21
53
 
53
 
54
    /* free RMOD's env segment */
54
    /* free RMOD's env segment */
55
    mov ah, 0x49   /* DOS 2+ -- Free Memory Block */
55
    mov ah, 0x49   /* DOS 2+ -- Free Memory Block */
56
    mov es, [rmodenv]
56
    mov es, rmodenv
57
    int 0x21
57
    int 0x21
58
 
58
 
59
    /* gameover */
59
    /* gameover */
60
    mov ax, 0x4C00 /* DOS 2+ -- Terminate with exit code 0 */
60
    mov ax, 0x4C00 /* DOS 2+ -- Terminate with exit code 0 */
61
    int 0x21
61
    int 0x21