Re: Speeding up Interrupts...

1999-02-10 Thread Jan-Lieuwe Koopmans

Hello!


I want to speed up the interrupt (original #38).
So I use the #FD9A for jumping to my own routine (which will
pop the return-adress from the stack), checking the Vertcal-
Blank flag and only the absoult necessary things.

Everything is fine, BUT - there are still two things which
I would like to remove...

the call to the old #FD9A, and the call to #FD9F.

#FD9A: called on every interrupt which occurs,
   normally not used by the system, only some special software.
   - there shouldn't be problems if I won't call this old entry

#FD9F: called 50/60 times per second,
   a restard-command to stop the diskdrive.
   - before disabling this call, I will call it 256 times after
 a diskoperation to stop the drive.

What is your opinion? Will I be in troubles by removing this two calls?


thanx in advance for your help

greets
wolfgang




You can also create your own ISR, using another Interrupt Mode of the Z80.
The good side of *this* method is that you still can use the BIOS routines.
Let me show you how to do it:

- Create a jumptable, starting at a 256-byte boundary (i.e. #C000, #C100,
etc), containing 128 times the start-address of your ISR-routine. Note that
the high- and low-byte of this address should be the same (for safety).
(i.e. #D0D0, #CFCF, etc.).
- Put the high-byte of the start-address of the jumptable in the
interrupt-vector register (i.e.: LD A,#C0   LD I,A).
- Switch to interrupt-mode 2.

Here's an example:

; --- Switch to own ISR

di
ldHL,#C000; start address of jump-table is #C000
ldDE,#C001
ldBC,256-1
ld(HL),#D0; start address of ISR is #D0D0
ldir

ldA,#C0; let interrupt-vector point to #C0xx
ldI,A ; (xx = variable!!!)

im   2; Interrupt Mode 2
ei

equ #D0D0

ISR:  ; your ISR


This code is from the top of my head, but I think this'll do.

Note that you took over the complete ISR! So, save the registers onto the
stack yourself, check whether it's a VDP Vertical Retrace interrupt, etc.
Also you have to take care of keyboard-input yourself. No default handler
will do that for you anymore, since these handlers run under interrupt as
well.

Hope this helps!


Greets,

Jan-Lieuwe Koopmans





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: falcom

1999-02-10 Thread Jan-Lieuwe Koopmans

[snip]

Gerald wrote:

I last spotted Microcabin on a Japanese psx mag called hyper playstation
remix with on de demo cd a demo of a game in which you had to skateboard
throug a town and do wheelies etc.. It was 3D

Anyone got any more news about these companies?


[snip]

You're right about the skateboard-game. You can find more info about what
MicroCabin is doing right now on: http://www.microcabin.co.jp/
The last game I played from MicroCabin was "Mystaria" on the Sega Saturn
(USA Import). This is really a great RPG (which concept is really different
from other RPG's; very strategic indeed!) and it's translated into English.

About the Japanese character-set: if you use Internet Explorer, then have a
look at:

http://windowsupdate.microsoft.com/default.htm?page=productupdates
(the Windows update page)

Down there you can download Japanese character sets and - alternatively -
the Japanese Input Method Editor.

Greets,

Jan-Lieuwe aka MOA

p/s: Thanx for all the info you supplied, Gerald; it was a pleasure to read
all that!




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: Color Burst (was: A question about the PSG samples)

1999-02-10 Thread Jan-Lieuwe Koopmans

Alex Wulms wrote:

|Are there any more undocumented features in the PSG, the MSX1 VDP and
any
|other chips used in the MSX which all programmers and other MSX fans
should
|be aware of?

Yeah, for example the V9938's color burst registers... Some people say
they are useless and some say they use it for nice effects. Who's wrong?
Who's right?

Greets,

Jan-Lieuwe


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/)




test

1999-02-10 Thread Jan-Lieuwe Koopmans

test



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: Nostalgia...

1999-02-10 Thread Jan-Lieuwe Koopmans

I still get the
creeps when I play Metal Gear 2 when guards see mee (I did when Metal
Gear (3) Solid was announced, in fact it is the reason I bought a PSX
(that and Konami MSX Antiques vol 1, 2 and 3 )).

Don't kill me but... I don't like Metal Gear Solid. I see no difference
with the thousands of 3D games already existing.

But... have you seen Gradius Gaiden? It is a TRUE reason for buying a PSX!
And 100% 2D, like the classic Gradius games, like the good games!!!

(I know... I'm crazy...) 8-)

Won't kill ya, but MGS is the best game I played in '98. 'Nuff said.

Greetz,

Jan-Lieuwe





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: AW: msx-ers

1999-02-10 Thread Jan-Lieuwe Koopmans

You are right about that. They not only "rediscovered" the Music Module,
but also did something else: the use of FM Pac.

Ehm, but not in FST 1, AFAIK !  And (again AFAIK) FST 2 was released
_after_ the first version of MB.  But I must admit that without FST
the MSX scene would probably have died long ago...

Wrong! FST 1 *DID* support FM-Pac. Just not simultaniously (call it
"stereo") like MoonBlaster does.

 The FM Pac (or the MSX Music
in particular) was very popular and there was no program to use it, except
the FM Basic and a terrible program from MSX Engine (was it called Music
Composer??).

Uhm... Studio FM, I think... Really buggy indeed. Gave up on it after a few
attempts to create "something" (but all these sessions ended up in an MSX
logo scrolling up smoothly, without me hitting the reset button).

I've never seen that thingie. Just heard some musics made with it. I got
the feeling that you could do more with this Engine thing than with FST.

Probably right; FST was obviously dedicated to the Music Module. The FM-Pac
support was more like an "extra".

Eric (once 4TRAX member)

So... Is Frank Thijsen (another 4TRAX member) still alive?


Greets,

Jan-Lieuwe aka MOA




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: Divide Multiply in assembler

1999-02-09 Thread Jan-Lieuwe Koopmans

Come on! Your VDP had got its own Line drawing instructions... You don't
need multiplications/divisions for those... Why don't you use these???


Hello fellow-MSX'ers!

I need FAST division and multiplication routines in assembler and I hope
some of you can help me.
I need an integer division (rests should be ignored) that does DE / B (or
similar). Where E is always zero (maybe that helps?).
I also need routine that does DE * B (the lower 8bit are discarded, if that
helps).

The catch with these routines is: You CAN NOT use exchange instructions
(EXX, EX AF,AF') and you CAN NOT use IX or IY.

I need both of these routines to draw a line between 2 coordinates. If
someone has such a routine (and if its FAST) I'd be interested also.

Thanks in advance!

 Patriek


,--.   ,---.   ,--. Homepage: \"To make a mistake is
|  '--.|   __   \  \__/ www.xs4all.nl/~newimage/  / human, but to really
|   __||  |  |  |  ,--. E-mail:   \ fuck things up, you
|  |   |  |  |  |  |  | [EMAIL PROTECTED]/ need a computer."
|  '---'  |  |  '--'  |   \- Glenn Scott,
\_|  || The New Image -since 1991-/  Secret Agent W7

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/)




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: VDP-Commands

1999-02-09 Thread Jan-Lieuwe Koopmans

|Hi there...
|
|Before I spend hours of testing and trying
|I want to ask:
|
|Are High-Speedcopys in SCREEN 4 possible???
|
|
|greetz
|wolfgang
|


As far as I know it should be possible. I never tried it before,
though...


Greets,

Jan-Lieuwe


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: A Q...

1999-02-09 Thread Jan-Lieuwe Koopmans

|What stands AFAIK for???


As Far As I Know...


Greets, 

Jan-Lieuwe Koopmans



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: looking for an asm editor

1999-02-09 Thread Jan-Lieuwe Koopmans

Hello everybody,

I am looking for a Asm editor and compilator. Unfortunately, I haven't
found such a proggy in the Funet ftp site. I am looking for a program
that looks like Maxam on cpc (full screen editor !) and that runs under
Basic (not Msx-Dos). If anybody can tell me where I can get this kind of
software, it would help me to code on Msx...


Try WBAss 2... I dunno where you can find it, though :(


Greets,

Jan-Lieuwe


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: PLAZTIK.BAS !!!!! :(

1999-02-09 Thread Jan-Lieuwe Koopmans

i've downloaded it and try to run it from fmsx-dos 1.6b2 and it wouldn't
run at all.
I just got the computer screen filled with a light purple color and then
it hanged.

Anybody has experienced the same frustration? :(


That's what I get when I run the corrupted version. You can determine if you
have the corrupted version if you do "LIST"... you see garbage in the last
few lines.

I tested the demo on fMSX 1.6b (maybe even b2), and it works fine with me. I
also tested it on a real MSX (NMS8245). Maybe you can determine which error
occurs by typing 'SCREEN 0' in this purple screen and do "? ERL" (you get
the error line) and "? ERR" (you get the error number). You can see what the
error number means by entering "ERROR error number".

I really don't have a clue what might cause such an effect other than having
a corrupted file. If you run it withouth KUN-Basic (at 100% or less Z80
speed), it might take a while before the effect is visible... Maybe that's
the case?

Note: This demo won't run under KUN-Basic when you do "CALL RUN" or "_RUN".
Instead, remove the 'REM'-sign before the _TURBO ON and _TURBO OFF.


Greets,

Jan-Lieuwe Koopmans aka MOA
the Author of PLAZTIK.BAS

El Fri, 27 Feb 1998 16:42:25 +0200 (EET) [EMAIL PROTECTED] escribĂ­a:


On Thu, 26 Feb 1998, Tristan wrote:

 Hi All,

 I'm glad to notify you we included MOA's entry after all. He sent me
 a non-damaged file and now everything's ok and working. Because of
 the low number of entries, and considering the original file was
 uploaded in time, I think it's justified to do this.

 Unfortunately, I'd like to ask the people who have voted already
 to please reconsider and vote again.

I don't think, that this is neccessary, because it was in different serie.
Anyway I can strongly recommend people to download it. It was really
amazing!!! I have now updated my page, so anybody can download it (and
give their votes) from : www.clinet.fi/~nyke/basic_compo


[snipped some sigs]


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/)




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: Basic Demo Compo Rules. FINAL VERSION ??

1999-02-09 Thread Jan-Lieuwe Koopmans

Again a remark I made before:

2) Basic accelerator:
   - not allowed if they don't come with the standard you are using (msx
1/2/2+ or tr)

So: this will totally outlaw any compiler, since there's never been a
"standard" compiler.

Suggested rule for compilers:

-ONLY XBASIC/KUN-BASIC: using CALL TURBO ON and CALL TURBO OFF to activate
or deactivate compiler.
-No use of extra features of compiler, just plain basic

I've never used NESTOR BASIC (heck, I've been too lazy to look at its
features) but if it is XBASIC/KUN-BASIC compatible this is also accepted.

You might wonder why I want the use of a compiler be "legal". Simple: since
the day I heard about it's existence I've been using this piece of software
for almost any graphical program I made for MSX. Because of the nature of
compo-demo's which are usually graphic to get the most stunning fx, the use
of compiler is required to make these effects even possible.
I really wonder what your basic-programs WITHOUT compiler look like, but
mine will look really SHIT and will take WEEKS to finish precalculation...

I would like to hear other opinions about this problem.

Randy



I agree... Plain BASIC is unsuitable for high-speed nifty FX, unless you
precalculate everything. KUN-BASIC will eliminate the problem... either
realtime calculation can take place or precalculation will only take some
seconds. It's both an enhancement for the voters as for the graphical
effects which will be implemented. And that's what we want, right? Nice
demo's!

Greets,

Jan-Lieuwe


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: Basic Demo Compo Rules 0.5b

1999-02-09 Thread Jan-Lieuwe Koopmans

Oops! Forgot one remark...

7) Ftp  Web (i must ask to Tristan and NYYRIKKI):
   - Ftp site: ftp.funet.fi /pub/msx/demo/basic/compo/msx1 -
/pub/msx/demo/basic/compo/msx2 - /pub/msx/demo/basic/compo/msx2p -
/pub/msx/demo/basic/compo/tr
   - all the demos must be uploaded in one file. If a demo is more than one
file it must be compatted in one file in lha or pma format.

   - Web: www.clinet.fi/~nyke/basic_compo (i hope that Nyyrikki will get
the
demos from the ftp)

How do we distinguish the different categories down here? (One Liners, One
Filers and Disk)

[snip snap]


Greets,

Jan-Lieuwe



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: Basic demo compo

1999-02-09 Thread Jan-Lieuwe Koopmans

[Snip... snip... how to exlude ML/great idea/blah blah blah]

Okay... if we keep talking like this then the contest will never actually
start. Someone brave enough to make a simple set of rules, an FTP-site to
upload to and a deadline? And, uhm... who will be in the jury? How do we
pick a winner?

Volunteers, please! (I know somebody did something similar yesterday, but I
think we should do things more official...)

Maybe I (or someone else) can dedicate a (sub)page to to contest, where
people can find the rules, restrictions, deadlines, etc. Then we can also
put the final demo's for downloading down there. The URL can be posted to
comp.sys.msx and alt.comp.msx... something like: "Wanna show the world your
BASIC-skills? Go to: http://www.blah.blahblah/basiccontest.htm, so that more
people will enter the contest.

Only one volunteer... no 20 different BASIC contests, please ;)


Greets,

Jan-Lieuwe aka MOA





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: Basic Demo Compo Rules

1999-02-09 Thread Jan-Lieuwe Koopmans



There's a missing and important point left: What about the prizes???


Marcelino Luna


Hmmm... he has got a point! ;)


Jan-Lieuwe




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: Basic demo compo

1999-02-09 Thread Jan-Lieuwe Koopmans

On Tue, 20 Jan 1998, Maurizio wrote:

 Hi all,

 just a weird idea.

 Why not a competition for demos witten in Basic?

Yes, I like that idea !!! Expetially, if we can use XBASIC.


 I think i will be a nice *match*!!!

 Of course in Basic mean without an ML or related instrunction like
 Poke,Peek,Vpoke,Vpeek,In,Out,Usr,Data etc.
 I don't know is right to exclude also the Vdp instrunction.

I don't think, that VPOKE, VPEEK, VDP and DATA commands has anything to do
with ML. IN, OUT and WAIT commands are also not for ML proggrams, but
anyway they should maybe leaved outside of this competition. Maybe also
all CALL, BLOAD and '#I commands should be forbidden exept
BLOAD"XBASIC.BIN",R and _TURBO ON/OFF, if we use XBASIC.



First of all I'd like to say that I think this a good idea...

I don't think the DATA and POKE commands are a problem if you ban the USR
command, so I think both DATA and POKE (and PEEK) should be legal commands
in the contest. VPEEK and VPOKE are the only commands to read from/write to
the video-memory, and they really haven't got anything to do with ML. The
only alternative would be POINT and PSET (but that's not a full 100%
alternative).

IN and OUT (and VDP), really haven't got *ANYTHING* to do with ML. IN and
OUT just let you write or read data through a port. The VDP command let's
you write to VDP registers. Basically the only ML related command is "USR".
Ban this one and you get pure basic.

So, we should make a list of banned commands, legalize KUN-BASIC (XBASIC) or
not, pick a deadline and an upload FTP-site, and off we go!

P/S: BLOAD should also be legal, as long as you ban the ",R" switch. How
should I otherwise load binary data into (video)memory???


Greets,

Jan-Lieuwe


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/)