[comp.sys.ibm.pc.misc] _Q1_ LaTeX picture editor _Q2_ INT 8

rhl@computing-maths.cardiff.ac.uk (Robert Hartill) (03/12/91)

_Q1_:
I've asked before, and i'll try just once more,

Can anyone point me in the direction of a simple picture editor (boxes,text,
shaded boxes,circles..) for LaTeX, or emTeX in particular ?

I've tried the TeXcad package that comes with emTeX, and it's output is quite
unpredictable.

Are there any separate upgrades of TeXcad available ?

_Q2_:
Is the timer interrupt, INT 8 disableable/enableable (sp?)
'cos if i write an ISR to make use of it, it never gets *called*

Under the Turbo Debugger with single stepping or breakpoints set, my ISR is
called, I can only assume the TD simulates the timer interrupt.


thanks for listening,
		robert.

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::     Robert Hartill, Dept Of Computing Mathematics, UWCC, Cardiff, UK.     ::
::          e-mail : rhl@cm.cf.ac.uk         Fax : 0222 371921               ::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Give me the luxuries of life and I will willingly do without the necessities.
-Frank Lloyd Wright (1869-1959).
-------------------------------------------------------------------------------

rhl@computing-maths.cardiff.ac.uk (Robert Hartill) (03/12/91)

To answer one of my own questions..

In article <1991Mar12.083348.8802@cm.cf.ac.uk> rhl@computing-maths.cardiff.ac.uk (Robert Hartill) writes:
>
> STUFF REMOVED..
>
>_Q2_:
>Is the timer interrupt, INT 8 disableable/enableable (sp?)
>'cos if i write an ISR to make use of it, it never gets *called*
>
>Under the Turbo Debugger with single stepping or breakpoints set, my ISR is
>called, I can only assume the TD simulates the timer interrupt.
>

I've now solved this problem for myself, thought i'd post what i'd found..

I put the following code in my program..
	mov	al,eeh
	mov	21h,al
this enables the 8253 timer chip, which *calls* INT 8, 19 or so times / sec
and enables the RS232 serial interface (which i want to use). It disables the
keyboard, disk interface, printer and colour/graphics (which i don't need)

At the end each interrupt (INT 8) i use the following code
	mov al,20h
	out 20h,al
this signals the end of an interrupt service routine (the one on INT 8)

I'm now able to context switch with my executive using INT 8,
Well i'm happy anyway.

I found this info in *Programming the 8086/8088* by Mike Thorne (p306)

----
Do i need to thank myself for this help ?


:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::     Robert Hartill, Dept Of Computing Mathematics, UWCC, Cardiff, UK.     ::
::          e-mail : rhl@cm.cf.ac.uk         Fax : 0222 371921               ::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Give me the luxuries of life and I will willingly do without the necessities.
-Frank Lloyd Wright (1869-1959).
-------------------------------------------------------------------------------