Navigation

My blog and news.


kristianvirtanen.wordpress.com

posted Mar 2, 2014, 10:51 AM by Kristian Virtanen   [ updated Mar 3, 2014, 8:54 AM ]

My finnish blog about my studies and java stuff. Easier to study in finnish :)

A piece of history: basicprogramming.org

posted Jan 21, 2014, 9:36 AM by Kristian Virtanen

A friend posted this link to me. Gives some nostalgic emotives.
basicprogramming.org at feb. 13'th 2011 in here.

ASCII-World continues.

posted Oct 6, 2013, 1:57 PM by Kristian Virtanen

I have received emails from two peoples who are interested to continue with ASCII-World. This did bright up my boring sunday. I wish all the best for new admin(s?).

INdiaGeeks.in - "Top 5 Online Resources..."

posted Aug 31, 2013, 10:20 AM by Kristian Virtanen

INdiaGeeks.in has listed 5 great online resources to Learn Data Structures and Algorithms. List is interesting and there is neat resources listed. See full article in here.

MITOpencourseware.

posted Aug 1, 2013, 8:44 AM by Kristian Virtanen

MIT has now open courseware.

Game programming mooc accomplished.

posted Jul 28, 2013, 10:31 AM by Kristian Virtanen

Game programming mooc, is “massive open online course” arranged by a University of Helsinki. It did include a three types of games to create. First was a math game, second was a vintage style textgame while third finally made me to work with graphics. It was a pretty simple platformer, which i did edit pretty much after the "official" version was made. Beside of new skills with Java, it also brought NetBeans in my use. In all ways, i did enjoy this course. Cant wait the next step :)

J2SE basics are behind.

posted May 4, 2013, 8:16 AM by Kristian Virtanen   [ updated Oct 7, 2013, 12:19 PM ]

Well, it was pure fun to learn J2SE basics. I enjoyed the ride from chapter 1 up to chapter 18. Detailed info at ohjelmointikurssit.com (.pdf)

Moving on.

posted Feb 19, 2013, 10:28 AM by Kristian Virtanen

After long pondering, i decided to move out of basic scene for good. I started learning Java at Viope.com. I like the idea of so multiplatform programming language as Java is. Ok, maybe it is not the fastest (or securest at the moment ;D ) but it fits for me like a nose in a head.

Takes few months to go throuh the Java-course, but then, whole new world waits me.

FreeBASIC logo in ASCII.

posted Jul 18, 2012, 4:54 AM by Kristian Virtanen

I did dig old folders on my computer and did find my FreeBASIC logo as ASCII. I made it back at 2004, but i think it is neat.

Here is a link to IT.

osBasic 1.0 at downloads.

posted Jun 21, 2012, 11:27 AM by Kristian Virtanen   [ updated Feb 24, 2013, 3:28 AM ]

osBasic is a simple BASIC interpreter written in Basic. It aim's to be similar as common basic interpreters were back in 1980's. Example code of classic nicoma game below.
// nicoma.bas
// osBasic Example by E.K.Virtanen
// https://sites.google.com/site/bungytheworm/
// Public Domain 2009.

1 CLS
2 COLOR 4, 0 : PRINT TAB$(33), "NICOMA"
4 COLOR 14, 0 : PRINT TAB$(15), "CREATIVE COMPUTING  MORRISTOWN, NEW JERSEY"
6 COLOR 15, 0 : PRINT: PRINT: PRINT
10 PRINT "BOOMERANG PUZZLE FROM ARITHMETICA OF NICOMACHUS -- A.D. 90!"
20 PRINT "PRESS  TO END" : PRINT
30 PRINT "PLEASE THINK OF A NUMBER BETWEEN 1 AND 100."
40 INPUT "YOUR NUMBER DIVIDED BY 3 HAS A REMAINDER OF? ", A%
50 INPUT "YOUR NUMBER DIVIDED BY 5 HAS A REMAINDER OF? ", B%
60 INPUT "YOUR NUMBER DIVIDED BY 7 HAS A REMAINDER OF? ", C%
70 PRINT
80 PRINT "LET ME THINK A MOMENT..."
85 PRINT
90 FOR I% = 1 TO 1500 : NEXT I%
100 LET D% = 70 * A% +21 * B% + 15 *C%
110 IF D% <= 105 THEN GOTO 140
120 LET D% = D% - 105
130 GOTO 110
140 PRINT "YOUR NUMBER WAS ", D%, ", RIGHT (Y/N)? ",
160 INPUT "", A$
165 PRINT
170 IF UPPER$(A$) = "Y" THEN GOTO 220
180 IF UPPER$(A$) = "N" THEN GOTO 240
190 PRINT "EH?  I DON'T UNDERSTAND '";A$;"'  TRY 'Y' OR 'N'."
200 GOTO 160
220 PRINT "HOW ABOUT THAT!!"
230 GOTO 250
240 PRINT "I FEEL YOUR ARITHMETIC IS IN ERROR."
250 PRINT
260 PRINT "LET'S TRY ANOTHER."
270 GOTO 20
999 END
Archive includes binaries for windows with multiple example codes. Linux binaries delivered by request.

Check programs and osbasic.zip

1-10 of 12