[Oberon] NAstrobe for RISC5 on Pepino
Andreas Pirklbauer
andreas_pirklbauer at yahoo.com
Thu Aug 2 15:06:29 CEST 2018
> could you please remind me how I can handle the following situation.
> On the RiskFive board I used the Ethernet chip type Wiznet W5300.
> It is a memory-mapped peripheral, which works like ASRAM. In other words,
> a piece of memory. I could handle it like this:
>
> WizMemArrayPtr := New (W5300_address, W5300_size)
>
> where W5300_address is hardwired in the FPGA decoder,
> and W5300_size is a constant from the W5300 data sheet.
I guess I could adapt EO’s NEW(ptr, size) to accomodate that,
if it doesn’t already do what you describe.
PS: When you say “W5300_address is hardwired”, do you mean
that it has to be located at a fixed address in memory?
More information about the Oberon
mailing list