comp.lang.ada
 help / color / mirror / Atom feed
From: Roger Mc <rogermcm2@gmail.com>
Subject: Re: SweetAda 0.1e released
Date: Mon, 27 Jul 2020 17:06:44 -0700 (PDT)	[thread overview]
Message-ID: <79d9a1d0-8735-460e-a648-c2a27e35a700n@googlegroups.com> (raw)
In-Reply-To: <62b36d1a-6d2c-4c79-a335-20546225544co@googlegroups.com>

On Tuesday, July 28, 2020 at 2:04:52 AM UTC+10, gabriele.g...@gmail.com wrote:
> In sweetada context, QEMU is a more or less normal QEMU that is used as an aid in development. e.g.,if you want to try sweetada code on a MIPS cpu, or a PowerPC, maybe it is better to exercise on an virtual machine. That's why exists a QEMU. QEMU is patched so that every machine it could emulates has additional I/Os that normally do not exist in that machine. Like a generic I/O card inside a computer. For example, if you choose a SPARC cpu (an thus an emulated machine like a SPARCstation5), it is difficult to have immediate evidence, because you have to low-level program a huge number of things, like the video framebuffer. Instead, you manipulate those simple I/O and IOEMU lets you visualize them on his own window. QEMU package is a normal QEMU distribution (apart the patches, that I have to make public soon, just the time to adjust them in a decent form), and IOEMU is an indipendent library added inside the distribution, but it's nothing more that a GUI manager for widgets, together with a parser for ioemu.cfg configuration files. Again I will release the source once that the code is cleaned up and stable. I make huge changes everyday, and don't want ugly things spreading off the net. 
> 
> By the way, you can run QEMU without IOEMU, just delete the library file. Then supply QEMU with your own firmware by standard command line options. QEMU for sweetada has nothing different. 
> 
> To be honest, if you want to study QEMU from a low-level point of view, prepare yourself for a long journey. It's incredibly complicated. And Sweetada does help you very little in doing that. The focus of sweetada is currently to adapt Ada code to machines. 
> 
> G

Great! I finally get the picture (well, almost).
QEMU is /opt/sweetada/bin/qemu-system-x86_64 which starts up like a DOS PC, booting from ROM and running until it can't find a bootable device.
Also, the QEMU-AArch64 directory gives me plenty of clues.

My idea is certainly, not to study QEMU from a low-level point of view but to understand its use in the context of sweetada and to understand the adaption of Ada code to machines.
My planned first job is to completely identify and understand all interfaces between sweetada and QEMU.

  reply	other threads:[~2020-07-28  0:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-22 18:03 SweetAda 0.1e released gabriele.galeotti.xyz
2020-07-25 13:44 ` Roger
2020-07-25 16:07   ` gabriele.galeotti.xyz
2020-07-25 16:17   ` gabriele.galeotti.xyz
2020-07-26  1:51     ` Roger Mc
2020-07-26 13:17       ` Roger Mc
2020-07-27 10:59         ` gabriele.galeotti.xyz
2020-07-27 10:51       ` gabriele.galeotti.xyz
2020-07-27 11:34         ` Roger Mc
2020-07-27 13:18           ` gabriele.galeotti.xyz
2020-07-27 14:02             ` Roger Mc
2020-07-27 16:04               ` gabriele.galeotti.xyz
2020-07-28  0:06                 ` Roger Mc [this message]
2020-07-28  9:16                   ` gabriele.galeotti.xyz
2020-07-28 13:32                     ` Roger Mc
2020-07-27 16:53               ` Dennis Lee Bieber
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox