Help
- Posted by Bernie Ryan <bwryan at PCOM.NET> Mar 10, 1999
- 671 views
Staring out with this code atom buff_a, buff_b buff_a = allocate_low(500) buff_b = allocate_low(500) I need to to how to write the following code in Euphoria. ( its in C ) The structure has to be a binary block of memory in machine code format. struct { int seg_of_buff_a; int offset_of_buff_a; int seg_of_buff_b; int offset_of_buff_b; } my_struct; my_struct.seg_of_buff_a = FP_SEG(buff_a); my_struct.offset_of_buff_a = FP_OFF(buff_a); my_struct.seg_of_buff_b = FP_SEG(buff_b); my_struct.offset_of_buff_b = FP_OFF(buff_b); Thanks in advance Bernie