Hello all,
Playing a bit with MVC I found the following bug:
If preference "optional buttons" in the "browsing" category is turned
off, the code panes in all MVC browsers are not displayed.
Stef
Seriously. We've been sitting around twiddling thumbs about better graphics for decades now.
We had Balloon2D & 3D.
We had 'Pooh graphics' to do vector forms.
We have some excellent stuff being done by the Cuis crew.
We have some amazing ideas from Nile/Gezira.
We have a number of potential 3rd party graphics libraries we might adopt.
We have an advanced JIT that could be used to make on-demand graphics routines either on their own or working with pretty much any of the above.
We probably have other options I've not even heard of.
Maybe we should actually do something? Can we at least talk about it?
tim
--
tim Rowledge; tim(a)rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: SVE: Skip on Vernal Equinox
Hi all,
I've hit a small milestone on a personal project that I would like to
share. It is a Squeak implementation of the RISC-V ISA, along with a (very
basic for now) CPU and memory for simulation and testing. You can find the
project here <https://github.com/darth-cheney/safe-bet/>.
So far I have only implemented the basic 32I instructions from the
unprivileged ISA <https://riscv.org/specifications/isa-spec-pdf/>. My goal
is to get the basic extension instructions implemented too, along with the
64I instructions. In terms of personal goals for the project, I'm thinking
of doing something stupid like writing my own OS and Squeak seems like the
kind of reduced-frustration environment that might curtail some of the
inevitable hair-pulling.
Disclaimer: my knowledge of the low-level systems stuff is quite limited,
so writing this package has been a learning experience. That's a polite way
of saying "I have no idea what I'm actually doing." So if you spot any
design choices you think are offensive or downright insane, please do file
an issue or send me a message. I'm hoping that somehow this will be useful
to the community.
If you'd like to give this a whirl, your best bet is to check out
RVCPUBasic >> #bootstrap:, which takes an ordered collection of
RVInstructions and loads them into the simulated memory starting at address
0. You can then send the #start message to the CPU and it will run through
the instructions in memory one by one. For the moment there aren't any
example "programs" to run here -- I'm open to suggestions!
I've tried to write tests as comprehensively as possible, but I'm sure I'm
missing some important cases and there are certainly going to be bugs.
Shout out to the TwosComplement package
<http://www.squeaksource.com/TwosComplement/>, which really helped me
figure things out when I was in a bind.
The repo is called "Safe Bet" because it's a "small(talk) risc"
--
Eric
A new version of TrueType was added to project The Inbox:
http://source.squeak.org/inbox/TrueType-tobe.54.mcz
==================== Summary ====================
Name: TrueType-tobe.54
Author: tobe
Time: 13 July 2020, 12:13:36.544882 pm
UUID: 168679d8-a9fa-4d8b-9689-2d2e06dc29f9
Ancestors: TrueType-mt.53
when encountering an invalid font while scanning a file, skip that font
=============== Diff against TrueType-mt.53 ===============
Item was changed:
----- Method: TTFileDescription class>>readFontsFrom: (in category 'instance creation') -----
readFontsFrom: aFilename
"Reads and returns all the fonts in the given file"
"
TTFileDescription readFontsFrom: 'batang.ttc'.
"
^self openFontFile: aFilename do:[:file|
(self fontOffsetsInFile: file)
+ collect:[:offset| [self new on: aFilename offset: offset] on: Error do: [nil]]
- collect:[:offset| self new on: aFilename offset: offset]
thenSelect:[:font| font notNil]].
!