Thread View: comp.lang.modula2
2 messages
2 total messages
Started by John B. Nagle
Tue, 08 Dec 1987 06:50
Modula II on IBM PC with HALO graphics
Author: John B. Nagle
Date: Tue, 08 Dec 1987 06:50
Date: Tue, 08 Dec 1987 06:50
20 lines
1260 bytes
1260 bytes
Has anyone tried Logitec's Modula II with HALO graphics on a PC?
The HALO literature claims that it will work. Does it?
I would like to map a rectangular array of values into a range
of shades of a color, so that I can display map data (obtained from
a ranging sonar) as a range of colors from red to green. Can this be
done using HALO under Modula II on a PGA or EGA type display?
Some questions on Logitec Modula II:
1. Are subranges assigned space appropriately? In particular,
does 0..255 occupy only one byte?
2. How well does concurrency work, if at all? Is it possible
to concurrently operate async ports while updating the
screen?
John Nagle
Re: Modula II on IBM PC with HALO graphics
Author: Erik Jacobsen
Date: Sat, 12 Dec 1987 13:13
Date: Sat, 12 Dec 1987 13:13
10 lines
904 bytes
904 bytes
jbn@glacier.STANFORD.EDU (John B. Nagle) asks in <17237@glacier.STANFORD.EDU> > Some questions on Logitec Modula II: > > 1. Are subranges assigned space appropriately? In particular, > does 0..255 occupy only one byte? No, subranges occupy the same amount of space as the type they are a subrange of. E.g. 0..255 will occupy two bytes. You may use a CHAR or a BYTE, and convert to and from CARDINAL everytime you need to do some caluculations.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads