Re: Games made with BBC BASIC for Windows
- From: Richard Russell <news@xxxxxxxxxxxxxxx>
- Date: Thu, 23 Oct 2008 14:20:26 -0700 (PDT)
On Oct 23, 9:20 pm, Rob Kendrick <n...@xxxxxxxx> wrote:
Well, things like memory allocation, string handling, file access, data
structures, socketing, etc - all these can be made much easier to use
should you use an off-the-shelf library. I assume you've implemented
many of them yourself.
Memory handling, string handling and data structures are part of BBC
BASIC, so they don't depend on OS features or libraries. Well, that's
not quite true: they assume that the OS can allocate one big
contiguous chunk of virtual memory.
Actually (and I'll probably regret mentioning this) Linux isn't as
good at that as Windows. Under Windows BB4W can always succcessfully
allocate 256 Mbytes of contiguous virtual address space (actual memory
used is of course typically very much less) but for some reason Wine
often refuses to allocate that much.
When I investigated some time ago it seemed to be because Wine doesn't
fully support the distinction between the MEM_COMMIT and MEM_RESERVE
options of VirtualAlloc, presumably because of some limitation in
Linux. BB4W relies on being able to "Reserve a range of the process’s
virtual address space without allocating any physical storage".
Richard.
http://www.rtrussell.co.uk/
To reply by email change 'news' to my forename.
.
- Follow-Ups:
- Re: Games made with BBC BASIC for Windows
- From: Rob Kendrick
- Re: Games made with BBC BASIC for Windows
- References:
- Games made with BBC BASIC for Windows
- From: dwilliams64
- Re: Games made with BBC BASIC for Windows
- From: Rob Kendrick
- Re: Games made with BBC BASIC for Windows
- From: Richard Russell
- Re: Games made with BBC BASIC for Windows
- From: Rob Kendrick
- Re: Games made with BBC BASIC for Windows
- From: Richard Russell
- Re: Games made with BBC BASIC for Windows
- From: Rob Kendrick
- Re: Games made with BBC BASIC for Windows
- From: Richard Russell
- Re: Games made with BBC BASIC for Windows
- From: Theo Markettos
- Re: Games made with BBC BASIC for Windows
- From: Richard Russell
- Re: Games made with BBC BASIC for Windows
- From: Rob Kendrick
- Re: Games made with BBC BASIC for Windows
- From: Richard Russell
- Re: Games made with BBC BASIC for Windows
- From: Rob Kendrick
- Re: Games made with BBC BASIC for Windows
- From: Richard Russell
- Re: Games made with BBC BASIC for Windows
- From: Rob Kendrick
- Games made with BBC BASIC for Windows
- Prev by Date: Re: reinstalling full system - RiscPC 600
- Next by Date: Re: Games made with BBC BASIC for Windows
- Previous by thread: Re: Games made with BBC BASIC for Windows
- Next by thread: Re: Games made with BBC BASIC for Windows
- Index(es):
Relevant Pages
|