Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

TCC 0.9.26 (Win32) (Announce)

posted by RayeR Homepage, CZ, 28.06.2013, 14:52

>
> #define PACKED __attribute__((packed))
>
> typedef struct {
> short unsigned int limit PACKED;
> unsigned long base PACKED;
> } GDTR;
>


Well this is tested? I used it for old GCC (2.9?), later it was possible to use only one 'packed' for entire struct instead of all members (maybe this old form became deprecated and ignored, not sure). so I update my code. Anyway good to know TCC can do pack.

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 404 users online (0 registered, 404 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum