Squeak 4.0 & 4.4 releases
Tim Rowledge (1742) 170 posts |
There is now an official release of Squeak 4.0 and Squeak 4.4 for RISC OS available at squeakvm.org/riscos The 4.0 release package is probably the one to use right now since the 4.4 release expects FreeType support along with a few other changes I haven’t yet optimised for RISC OS. The fall-back code does indeed work but it’s a bit slower. Anyone with any experience of making FreeType work on RISC OS ? Please contact me… |
Theo Markettos (89) 919 posts |
There’s been some work on Pango, Cairo and friends in the GCCSDK autobuilder. However I don’t think anyone has written a native implementation – in other words it just uses the default renderers. Or something like that, I haven’t used them myself. |
nemo (145) 2546 posts |
Not me, but I’d argue that what should be done is a complete overhaul of the FontManager (which is no longer fit for purpose) – keeping and extending that API and making use of FreeType or similar at the back end. As it happens I’m scheduled to implement (elsewhere) a FreeType system soon, though I have to add Intellifont support to it at the same time. |
Marten Feldtmann (1811) 13 posts |
I just tested the stuff with the latest RC7 revision of RiscOS, but I got an error, that Object memory could not be retrieved. |
Tim Rowledge (1742) 170 posts |
I’ve been talking with Marten privately about this, but I’ve just fired up a fresh RC8 SD card and Squeak starts up with no issues. I would set a much smaller default space allocation if there were a way to increase my memory without moving it; so far as I recall the last time I tried this by whatever means there was no way to claim more memory (let alone release what I no longer needed) that guaranteed being able to keep to the same base address. That was a very long time ago though, so maybe there is a way now? Or maybe there always was and I simply misunderstood… |
nemo (145) 2546 posts |
Slightly confused… If you mean the WimpSlot, then of course you can change the size of that and its base address ALWAYS starts at &8000. If you mean an RMA allocation, then that can move when you resize it. If you do mean that, then consider using a Dynamic Area – you can reserve a large amount of address space but a small amount of physical RAM. Resizing doesn’t move the base address. |
Tim Rowledge (1742) 170 posts |
Let’s see if I can explain without descending into too much gibberish - The current code (viewable at http://www.squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/platforms/RiscOS/vm/sqRPCMain.c?view=markup function platAllocateMemory() for the deeply curious) does- To the best of my knowledge the wimpslot doesn’t affect my malloc so that shouldn’t have caused Marten’s problem and in fact it all runs ok on RC8 for him as well. I have no memory of why I changed to defaulting to malloc after the Iyonix/Aemulor era but it would have been due to advice given somewhere. If using a DA would allow me to have growing/shrinking that worked suitably – adding memory to the high end, removing it from the high end – I’d very pleased to know how to do it. The sparse area page on this site helps a little but if anyone has working example code that would be really nice. |
Bryan Hogan (339) 592 posts |
The next RISC OS User Group Of London meeting on Monday 19th May will be all about Scratch and Squeak. Pub wifi and transatlantic connections permitting, this will also include a “visit” from Tim to give us the low down on the latest developments! http://www.rougol.jellybaby.net/ Bryan. |
Rick Murray (539) 13840 posts |
Now there is a name for a pub. Pubs over here don’t have exciting names. “Bar du Lac” or “Bar du Poste” (if near a lake / post office), otherwise frequently “Chez” followed by the name of the person who owned it in the dark ages. Bleugh, boring. |
Steve Pampling (1551) 8170 posts |
Never nicknamed a pet Scratch, but one of the cats sometimes gets called Squeak.1 Chez Fuff is the nickname for the house. Fur and fluff3 you see… 1 Merlyn2 marderfuff wooly-bum snot-dotter 3 That’s cat fluff in quantities large enough to trouble a Dyson |