tag:blogger.com,1999:blog-33414002.post1596383938634640321..comments2023-10-25T15:25:50.011+02:00Comments on ROLF - An alternative GUI for Linux: ARM Emulation on ARMSimonhttp://www.blogger.com/profile/11289534660572407264noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-33414002.post-89509951706340693162012-05-02T16:04:29.800+02:002012-05-02T16:04:29.800+02:00You need ARCH_ARM defined, either in config.h or t...You need ARCH_ARM defined, either in config.h or the gcc command line, too.Simonhttps://www.blogger.com/profile/11289534660572407264noreply@blogger.comtag:blogger.com,1999:blog-33414002.post-9480458794096557852012-05-02T14:39:29.472+02:002012-05-02T14:39:29.472+02:00Good question! I hadn't touched it since last...Good question! I hadn't touched it since last November, and it seems I forgot to upload it.<br /><br />I'll probably have another play, and write a new post on the subject, but as a quick answer, you can download today's versions of the two files from <a href="http://ro-lf.svn.sourceforge.net/viewvc/ro-lf/ROLF/rolf/Libs/Compatibility/arm_arm_emulator.c?revision=205" rel="nofollow">here</a> and <a href="http://ro-lf.svn.sourceforge.net/viewvc/ro-lf/ROLF/rolf/Libs/Compatibility/includes/rolf/compatibility/arm_emulator.h?revision=205" rel="nofollow">here</a> (the latter file should be stored in a directory rolf/compatibility).<br /><br />(You will also need a config.h file, but that can be empty, or used to set flags.)<br /><br />I used the following command line to compile the standalone version (on an ARM platform):<br /><br /><i>gcc arm_arm_emulator.c -o standalone -std=gnu99 -Wall -pedantic-errors -DSTANDALONE</i><br /><br />There are various precompiler flags that can be set to modify the emulator.<br /><br />The standalone program accepts the name of a binary file containing ARM code, loads it into memory, scans from the first instruction and runs until the first instruction it can't cope with.<br /><br />Unaligned memory accesses are dealt with however the host code deals with them (i.e. I didn't add code to emulate the read-word-aligned-and-rotate behaviour of earlier ARM processors. Instead I looked at the Linux kernel, to see if I could make it process-dependent behaviour, got frustrated, and went off at a tangent, writing a microkernel for ARM.)Simonhttps://www.blogger.com/profile/11289534660572407264noreply@blogger.comtag:blogger.com,1999:blog-33414002.post-37751258321874832202012-04-29T21:34:18.980+02:002012-04-29T21:34:18.980+02:00thank you for this
what's the new informatio...thank you for this <br /><br />what's the new information about ARM emulatorMEhttps://www.blogger.com/profile/14458398861584242016noreply@blogger.com