Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Freepascal and binary files? (Developers)

posted by CandyMan, 11.06.2020, 12:29

You can use FASM as below.

Cursor1.ASM file:
 
        format  MS COFF
        public  Cursor
section '.text' executable
Cursor  file    "cursor.bmp"

in PAS file:

procedure Cursor; external {$IFDEF FPC}name 'Cursor'{$ENDIF};
{$L Cursor1.O}

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 265 users online (1 registered, 264 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum