IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Parker on January 12, 2006, 03:21:13 PM

Title: Interface your programs with Java
Post by: Parker on January 12, 2006, 03:21:13 PM
Apparently java is the current standard for colleges, so I'm going to have to take a class in it. But of course, not all hope is lost ;)
http://www.inonit.com/cygwin/jni/helloWorld/load.html
I can still write DLLs in Aurora to use in Java, and if you use Java, you can too. The trick is to use the "native" keyword when specifying the function, and to use the System.load() (or loadLibrary, depending) function to load the DLL.
Also see
http://www.codeproject.com/java/jnibasics1.asp?df=100&forumid=4729&exp=0&select=1078995
Title: Re: Interface your programs with Java
Post by: Zen on January 12, 2006, 03:29:37 PM
Hmm i wish i knew that when i was at uni. I would of wrote my programs in IBasic then just loaded them into Java. Ha Ha.

Lewis
Title: Re: Interface your programs with Java
Post by: Rod on January 13, 2006, 11:24:18 AM
QuoteJava is the current standard for colleges

My, my, how times have changed. My college had only one programming class, and that was in Fortran. We had no computer ... three times a week, we all punched our cards, then piled into the instructor's VW for a 7-mile ride to the shared computer center across town.

And yes, guys, before you ask ... we DID have to watch out for dinosaur hazards along the way!!  ;D
Title: Re: Interface your programs with Java
Post by: Bruce Peaslee on January 13, 2006, 04:13:30 PM
Quote from: Rod on January 13, 2006, 11:24:18 AM
QuoteJava is the current standard for colleges

My, my, how times have changed. My college had only one programming class, and that was in Fortran. We had no computer ... three times a week, we all punched our cards, then piled into the instructor's VW for a 7-mile ride to the shared computer center across town.

And yes, guys, before you ask ... we DID have to watch out for dinosaur hazards along the way!!ÂÃ,  ;D


Punch cards! You were lucky. I had to code on clay tablets!
Title: Re: Interface your programs with Java
Post by: Parker on January 13, 2006, 04:20:28 PM
Wow, I've never heard of the clay tablet way ;D I used IBasic Standard, that's how new I am at this (3 years ago). I actually downloaded Dev-C++ a couple years before that and couldn't even compile the examples. But I can even use the command line tools now, there's a lot you learn just by looking around.
Title: Re: Interface your programs with Java
Post by: Zen on January 13, 2006, 04:29:30 PM
Well the worst ive done is programming a Z80 proccesor with HEX codes which resemble ASM code. Its quite funny actually i have a sound file i got emaied to me. Its obviously a setup but its some scotish guy ringing up an ISP and asking for an internet for his ZX81. Quite funny.

Lewis
Title: Re: Interface your programs with Java
Post by: Parker on January 13, 2006, 04:33:04 PM
Oh, worst? I've done a little TI-BASIC (for TI graphing calculators) and a tiny bit of assembly, but I don't know much. And that's nowhere near anyone else's records ;)
Title: Re: Interface your programs with Java
Post by: Zen on January 13, 2006, 04:39:15 PM
Ive not heard of TI-Basic. Anyway i dont see the point in going backwards. Obviously learning assembly is good, but some other things ive done seem so pointless, its just forwards for me please.

Lewis
Title: Re: Interface your programs with Java
Post by: Parker on January 13, 2006, 04:41:19 PM
Where would we be if Paul had that attitude about assembly? Or the architects at Intel? Or any OS maker?

Sorry for giving you a hard time ;D
Title: Re: Interface your programs with Java
Post by: LarryMc on January 13, 2006, 04:55:13 PM
I did a little fat-fingering with a breadboarded 8080A chip in my garage in the early '80s; if that helps anyone.

Hooked it to an AP teletpye machine that had a paper tape punch and reader on it for program backup.

Still have that old teletype; I guess because it weighs a couple of hundred pounds!
Title: Re: Interface your programs with Java
Post by: Ionic Wind Support Team on January 13, 2006, 07:35:20 PM
Actually I like coding in assembly, always have.  Probably because the RCA 1802 processor I started out with had to be coded in hex directly.  Didn't have the luxury of a keyboard at the time.  Did have it hooked up through an RF modulator and could do memory addressable graphics.

4K of ram, a hex keypad, and a two digit hexidecimal display.  Those were the days  :o