News:

Welcome to RetroCoders Community

Main Menu

Recent posts

#21
Other Programming Languages / Re: UDF in interpreter
Last post by aurel - May 01, 2024, 06:02 PM
and now test with 3 params and one of them is
expression with built-in function sin(90)

' function with arguments
var g : g = 50 : wcolor 0,0,0 : mode 1
fcolor 150,240,150 :print 5,10,"global:": print 100,10,g : swap
' func call with params...
myFn(5,3+g,2*sin(90))

func myFn(var a,var b,var c)
  fcolor 250,200,150
  print 50,30,"local a"
  print 50,50,a
  print 50,80,"local b"
  print 50,100,b
  var f : f = a + b + c
  fcolor 150,200,250 :print 5,150,"result:": print 100,150,f
  swap   
endFn
#22
Other Programming Languages / UDF in interpreter
Last post by aurel - Apr 30, 2024, 02:38 PM
;D
First time in micro(A) global and local
calculation as function parameter expression


' function with arguments
var g : g = 50 : wcolor 0,0,0 : mode 1
fcolor 150,240,150 : print 50,50,g : swap
myFn(5+g*2)
'print 100,150,a

func myFn(var a)
fcolor 250,200,150
print 50,80,"local + global (5+g*2)"
print 50,100,a
swap 
endFn
#23
QBasic / Re: Fox Oring
Last post by mysoft - Apr 23, 2024, 04:21 PM
looks pretty good, fun playability , heh so the DOS version is in qbasic... and the win32 version uses OpenGL? hehe

thanks for the effort of multiple platforms :)
#24
QBasic / Fox Oring
Last post by yevrowl - Apr 20, 2024, 05:01 AM
Fox Oring is a variation of the sport of amateur radio direction finding. Fox Oring is a timed race in which individual competitors use a topographic map and a magnetic compass to navigate through diverse, wooded terrain while searching for radio transmitters. The term is derived from the use of the term fox hunting to describe recreational radio direction finding activity and an abbreviation of the word orienteering. It is necessary to discover 5 hidden transmitters located on a 10 × 10 field in as few moves as possible. The transmitters broadcast in all 8 directions, the number on the cell indicates the number of intersecting signals.



http://foxoring.sf.net/
#25
FreeBasic Projects / Piranha Panic Port
Last post by mysoft - Apr 19, 2024, 07:29 PM
despite this being a game, i didnt made it... so i'm not posting on gamedev
what i made was to port the binary version (there's no source), so it can run on linux and DOS

the port works in a way "similar as that WINE do", i implemented the required windows API that the game uses, and manually load the binary blob of the game and run that

press F2,F3,F4 for new game in... easy/medium/hard difficulties respectively



for the DOS version if running in dosbox i recommend using hdpmi32 instead of cwsdpmi...

i'm now working, on the 2nd step of this project, that is to make a static recompiler, so that i can port this for ARM/WebAsm/x64 etc... and have the game over NDS

source + win32/dos binaries
Download Piranha RE
#26
FreeBasic Game Dev / Re: Tetris in a day
Last post by yevrowl - Apr 18, 2024, 11:33 PM
Quote from: ron77 on Apr 18, 2024, 03:32 PMi compiled the tetris game code with freebasic for dos (DJGPP) AND ADDED HDMPI32.EXE file and a batch file so you can run it under dos (either dosbox or freeDOS OS) I am attaching it here for you as a zip file - tell us if it works for you (to start the game just run START.BAT file)
Thanks a lot, Tetris works great!

#27
FreeBasic Game Dev / Re: Tetris in a day
Last post by ron77 - Apr 18, 2024, 03:32 PM
hello @yevrowl

i compiled the tetris game code with freebasic for dos (DJGPP) AND ADDED HDMPI32.EXE file and a batch file so you can run it under dos (either dosbox or freeDOS OS) I am attaching it here for you as a zip file - tell us if it works for you (to start the game just run START.BAT file)

You cannot view this attachment.
#28
FreeBasic Game Dev / Re: Tetris in a day
Last post by yevrowl - Apr 17, 2024, 10:55 PM
Thanks for this Tetris.
Please tell which lines need to be changed in order to run under DOS?
#29
FreeBasic / Re: FreeBasic IDE's & Editors
Last post by yevrowl - Apr 17, 2024, 09:43 PM
Translated into Russian for CSED_FB.
#30
Beginners / Re: online FreeBASIC tutoring ...
Last post by aurel - Apr 15, 2024, 06:49 PM
QuoteI Offer my Tutoring to the Absolute Beginner in Programming

hi Ron
all this is great and fine and nice ,yes i really mean that

but such a offer for Absolute Beginner ..here
BIG hmmmmmmmm

maybe you need project,challenge or something similar. :)
also you probably know that today Absolute Beginners ..tend to use Python
not FreeBasic or GWBasic .