[Oberon] FPGA - Files.ReadBytes(), Files.WriteBytes()

Chris Burrows chris at cfbsoftware.com
Mon Aug 20 14:01:49 CEST 2018


> -----Original Message-----
> From: Oberon [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of
> Tomas Kral
> Sent: Monday, 20 August 2018 6:47 PM
> To: Oberon at lists.inf.ethz.ch
> Subject: [Oberon] FPGA - Files.ReadBytes(), Files.WriteBytes()
> 
> Files.Mod has procedures for reading/writing a block of bytes,
> bytewise.
> 
> The comment suggests improving the code further. Any hints to improve
> the code?

Look at the corresponding code in the 1994 version of Project Oberon. You
can download it from:

ftp://ftp.ethoberon.ethz.ch/Oberon/Books/ProjectOberon/

Each function is about 25-30 lines long and at first glance looks fairly
inscrutable. I don't know how compatible it is with Project Oberon but you
should get some ideas about what is possible. You should also get a better
understanding why it hasn't been 'improved' yet. 

Regards,
Chris Burrows

CFB Software
http://www.astrobe.com/RISC5





More information about the Oberon mailing list