Comments (7)
I ended up removing the #
s from those lines, according to everything I saw online =#0x
is not a valid use. I presume =0x
is a pointer (32bit?) and #0x
is for integers (immediate).
from ptos.
BTW regarding the issues posted, I have no problem using git pull requests to provide fixes, but I have tried 2 different ways to update my repo with your commits and they both place me out of sync (a: squash = 1 ahead & 0 behind, b: rebase = 3 ahead & 3 behind), so I am just deleting the repo and forking it again when I see u have made changes.
Altho I know RPi and AtariST well, I dont know ARM and TOS that well, so I am just trying to make sure I am getting things right on real hardware, which I gather you are (mostly) no using yet.
from ptos.
ldr rX, =#... is a pseudo assembler instruction that will be replaced with the best way to load a 32 bit constant by the assembler. I think upgrading binutils to at least 2.26 and gcc to 4.9.3 would make life easier.
Regarding forks, you should be able to add my repository as an additional remote and pull from it to get in sync with me. There is not need to delete and start from scratch.
from ptos.
apparently there is still bugs in Jessie-Stable-Old that dont allow 4.9 to be used with bare metal. In the repos is GCC 4.9.2, and arm-none-eabli GCC is 4.8.4. Note also that 4.8 is one of the "stable" versions used by Arduino.
from ptos.
this another one of those things that wont go away if you are on older GCC (like armv6)
having done some searching and looking at code examples, the following is true:
ldr r0,=0xfff000f0
ldr r0,#0xfff000f0
so either the use of ldr r0,=#0xfff000f0
has been relaxed (or granted) with later GCC releases or it is specific to aarch64 processors in 32bit mode (being a 32bit value). I presume that the =
is part of the ldr
optimization, #
just being a number. The following compiled without error for armv6
and armv7
:
ldr r0,=0xfff000f0
and I presume it keeps the extra optimization for targets that can use it.
if this tests ok for u with that change, this can be close, I think
from ptos.
btw what version of arm-none-eabi-gcc
are you using, and do you also have m68k-atari-mint-gcc
in your path? Also are cross compiling on window or linux (which distro) or Mac?
from ptos.
The issues mentioned here should have been fixed in 88f7a79 and da43025
from ptos.
Related Issues (17)
- updating repo forks from project master HOT 2
- Build pTOS for Asus C201 Chromebook
- Avoiding general compiling issues HOT 3
- new kernel.img sizes on 18 August 2018 HOT 3
- icon rendering issues HOT 1
- USB driver HOT 1
- Wiki Tested page
- new builds and whats next
- building armv6 on RPi 2 HOT 2
- alignment errors on RPi 2 HOT 9
- The AES does not react to mouse events on RPI HOT 5
- Implement 8bpp chunky raster ops HOT 1
- RPi, Falcon & ST resolution handling HOT 2
- pTOS portability HOT 2
- QEMU auto detection (eg. hw mouse cursor) HOT 4
- undefined symbol HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ptos.