Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Calling all java masters

  Asked By: Diem    Date: Oct 11    Category: Java    Views: 863
  

For all you java masters out there!I'm
looking for a programmer that knows how to write pixels
to the screen in DOS using 13h mode. Here is an
example written in C.
<a href=http://www.brackeen.com/home/vga/basics.html
target=new>http://www.brackeen.com/home/vga/basics.html</a>If you can
figure this out (in Java) then you truely
are a master at what you do.

Share: 

 

5 Answers Found

 
Answer #1    Answered By: Latoya Murray     Answered On: Oct 11

why don't you find master mechanics that can convert a automatic starting
vehicle back to a hand crank, that'll probably be just as interesting.

 
Answer #2    Answered By: Shobhana R.     Answered On: Oct 11

A Similar Problem will be Converting Electric
Locomotives to Watt Steam Engines... A Master Engineer will
be able to do that as u say !<br><br>well the truth
is that in java  u cannot call interrupts to draw a
point as Java is a high-level OO language and does not
contain low level features as the c language. thus
gosling will also fail to call interrupts from java...

 
Answer #3    Answered By: Carl Woods     Answered On: Oct 11

Technically you don't have to call an interrupt
to draw a point, as the Mode 13h memory starts at
address 0x000a0000. You'd just have to write to an offset
from that address (which of course is still illegal in
Java IIRC, and you'd need an int 10h to switch to mode
13 in the first place, so never mind

 
Answer #4    Answered By: Adal Fischer     Answered On: Oct 11

You can do it the simple way, write a library in C, declare a native instance of
the library in Java and call it from there.

 
Answer #5    Answered By: Devlan Jones     Answered On: Oct 11

It appears that the guy who wrote the orginal
message has NO CLUE what Java is about.<br><br>It is NOT
about fancy pixel mapped graphics. If you need to do
OS/Hardware specific tasks, then C or assembly language is
the thing to use. I love Java, and I STILL would
write that type of thing in C (being a guru or
not).<br><br>Java is not for all applications development, but like
bvs_sv_ni said... Write a JNI interface and call a native
language routine from Java.<br><br>Stephen
McConnell<br>http://www.crosslogic.com

 
Didn't find what you were looking for? Find more on Calling all java masters Or get search suggestion and latest updates.




Tagged: