Re: No interrupts? (coding question)

2000-01-06 Thread shevek

On Wed, 5 Jan 2000, Laurens Holst wrote:

> > > You can turn off the interrupts in VDP also, but this does not
> > >interrupt IRQs from another devices (assuming there is strange hardware
> > >connected in your machine).
> >
> > I think this is what I'm searching for... Could you provide me with more
> > information about that?
> 
> I don't know exactly... take a look at the v9958 (or v9938) specs... in
> registers 0 and 1 there should be three bits called IE0, IE1 and IE2. Those
> can enable/disable the interrupts. One of them represents the line-interrupt
> (I think IE2), one represents the light pen interrupt (I think IE1), and one
> represents the 'normal' interrupt (I think IE0).
> 
> Complement that one to disable the VDP interrupts.

The lightpen one is in register 0, bit 4. No matter what you set it to,
the lighpen will never give an interrupt on the MSX, since the lightpen is
not connected to the VDP. In register 1, bit 5 (IIRC), is the vertical
scanning interrupt flag. It controls if the VDP gives an interrupt every
time the screen has been built (when it starts with the lower border).
This is the usual interrupt which you might want to disable. There is one
last one, I thought it was in register 8 or 9, for the horizontal scanning
interrupt. If you set that right, the VDP gives interrupts when it starts
with the building of the line set in register &H18 (vdp(&H19) in basic).
Normally it is set to no interrupts, but it is very useful for
split-screen things.

Bye,
shevek

/***Use gcc to compile***Don't mind the warning/

 int*a,k   ,v[9];int*main   (){int   i,j,s=1,   x,z   ,c[
]={1,4,7,4,3,4,5,4   ,1,1,1  ,2,
3,3,3,4};for(i=0;(   i++<9) &!k
 ;s=-s){k=0;scanf("%d",&z);v  [--z   ]=s;for(j=0;j
 <8;   j++){z=v[ c[j ]];k|=z==v [c[
 j]-   c[j+8]]&(  z&&(v[ c[j]+c  [j+
8]]==z));;;}}printf("   %d   won\n",-   s*k   );}

/***Tic-tac-toe.use 1-9 to play/



MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Snatcher Translating

2000-01-06 Thread Sandy Pleyte

Is this project still allive ???  Last update 24 April 1999 


http://diverse.freepage.de/kloseck/msx/


Sandy Pleyte
Generation MSX
http://www.generation-msx.nl


MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: New to the list.

2000-01-06 Thread Manuel Bilderbeek

>   I am also going to check out the emulators available for my pc and
> amiga but from what I can see from the various msx websites, FMSX seems
> to be the best and most popular.  Is there any utilities available to
> convert my existing cartridges and tapes to work with these emulators? 
> I am sure they are probably already available but just in case.

Yes, most of them are available. You don't want to dump them yourself. Maybe 
you should look at the FAQ? http://www.faq.msxnet.org

The games you're looking for can be found all over the internet. See e.g. my 
bookmarks (URL via my homepage (see signature)) for some URL's.

Grtjs, Manuel ((m)ICQ UIN 41947405)

PS: MSX 4 EVER! (Questions? See: http://www.faq.msxnet.org/)
PPS: Visit my home page at http://bilderbeek.cjb.net/ 




MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)