To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2916
2915  |  2917
Subject: 
brickOS & GNU Pascal
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 23 Oct 2002 17:07:46 GMT
Viewed: 
2290 times
  
This is extremely preliminary, but I can't wait to share the news.  I've
managed to build a Hitachi H8 cross compiler for GNU Pascal (under cygwin on
W2K) and have successfully downloaded and ran the following Pascal program
on brickOS.

program Hello;

procedure cputs(const s : pchar); asmname 'cputs';
procedure sleep(i : integer); asmname 'sleep';
procedure cls; asmname 'cls';

begin
  cputs('hello');
  sleep(1);
  cputs('world');
  sleep(1);
  cls;
end.

It's not much at the moment, I know, but it's a start.

John Hansen
http://members.aol.com/johnbinder/bricxcc.htm



Message has 1 Reply:
  Re: brickOS & GNU Pascal
 
(...) Personally, I think this is great. If a GUI can be developed for BrickOS, it will be a huge boost to BrickOS, because it should be MUCH easier for people to use it. Between this, the DJGPP compiler Ed's working on, and the whole new surge in (...) (22 years ago, 23-Oct-02, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR