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
22752 Postings in 2119 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum