I am working on an array class for the FLAT or UNREAL memory model,
where 4gb of memory are available with linear address at segment 0.
Segment limit is extended from 64k to 4gb!
class Array
{
Array(Size)
...
Get/Set Segment // Word - 0000h for memory or 0A000h for video
Get/Set Offset // DWord for 4 GB
Searches
Sorts
subscript operators
= operator and copy constructor
MemMove
Flip (left to right reverse)
private:
Segment word
Offset dword
Length dword
};
This class will be a template and many classes will be derived from it,
so its performance and reliability and extendability is very important.
Matrix, Image, etc. derive from this class
I need help with memory management and marking allocated memory in
UNREAL mode, subscript operators, etc.
Of course, 32-bit addressing is based on assembly, so subscript
operators will be written in some assembly.
Since it is a template , all copy routines must be fast and
generic (must copy byte by byte)
Is is more efficient to copy as many dwords as possible, then as many
words as are left, then any remaining bytes, or just a straight
rep
Sorts and searches assume a default - no parameter - constructor and
comparison operators overloaded. ,=,==,!=
This is a large but worthwhile and any help would be appreciated.
Thanks everybody!
---------------
Next conference: FIDO Message Area
Next topic: 204 Search & Rescue
FIDO MESSAGE AREA==> TOPIC: 204 SEARCH & RESCUE Ref: C1F00003Date: 01/06/95
From: GARY DUNNE Time: 09:53pm
\/To: SEAN SMITH (Read 9 times)
Subj: Sar Tech II
Hey there Sean!
I am writing in reference to your new moutain rescue team! I would like
to know what are your requirements, I have served a total of 9 years in the
Army ( CANADA ) and 4 were in the Special Service Forces, so I have done
Repelling, helicopter repelling, search, mock tower trainging, as well as
survival and winter indoc courses, and I have a Fire Fighter Prep course, as
well as CPR basic rescuer, and Standard first aid, as well as I can ski
fairly well! I would love to try out for a position.
Gary Dunne 1:221/212 ( fido ) or 144:3070/99 ( saf ) or (519) 748-9604 voice
and (519) 748-6272 for my bbs!
PS: I also have my riggers course as I was a lineman, as well as my
radiotelephone operators profiency cert, and WHMIS.
... This copy of GEdit has been unregistered for 36 days.
--- TAZLAND BBS
# Origin: TAZLAND BBS (5i9) 748-6272 (144:3070/11)
---------------
* Origin: Safety Connection BBS 801-831-4498 [V.FC 28.8k] (1:3003/911.0)
|