editor, treelist, msgbox initial

git-svn-id: svn://kolibrios.org@6589 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
siemargl
2016-10-12 23:28:04 +00:00
parent 8f3ca726d6
commit 59d92b4ec3
18 changed files with 938 additions and 72 deletions

View File

@@ -0,0 +1,34 @@
format coff
use32 ; Tell compiler to use 32 bit instructions
section '.init' code ; Keep this line before includes or GCC messes up call addresses
include '../../../programs/proc32.inc'
include '../../../programs/macros.inc'
purge section,mov,add,sub
include '../../../programs/dll.inc'
public init_msgbox as '_kolibri_msgbox_init'
;;; Returns 0 on success. -1 on failure.
proc init_msgbox
pusha
mcall 68,11
stdcall dll.Load, @IMPORT
popa
ret
endp
@IMPORT:
library lib_boxlib, 'msgbox.obj'
import lib_boxlib, \
mb_create, 'mb_create' , \
mb_reinit, 'mb_reinit' , \
mb_setfunctions, 'mb_setfunctions'
public mb_create as '_msgbox_create'
public mb_reinit as '_msgbox_reinit'
public mb_setfunctions as '_msgbox_setfunctions'