Go to advanced search

by xlar54
Wed Jul 31, 2019 2:44 pm
Forum: Bare metal, Assembly language
Topic: Stupid Pi 4 question
Replies: 6
Views: 1259

Re: Stupid Pi 4 question

epoch1970 wrote:
Wed Jul 31, 2019 10:52 am
Good title!
well, ya gotta admit when something should make perfect sense, but doesnt seem to :)
by xlar54
Wed Jul 31, 2019 10:47 am
Forum: Bare metal, Assembly language
Topic: Stupid Pi 4 question
Replies: 6
Views: 1259

Stupid Pi 4 question

So I understand we are still waiting for some documentation for the Pi4 in order to do bare metal projects. How is it then that Raspbian works just fine with it? Arent they waiting for the same documentation?
by xlar54
Wed Jul 31, 2019 10:42 am
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 238
Views: 64359

Re: Circle - C++ bare metal environment (with USB)

Patrick - you should know that in the retro community, Circle has had a MASSIVE impact. The Pi1541 project allows us to emulate 1541 and 1581 disk drives using bare metal / Circle as the core. Most people who use Pi1541 will not understand the effort you did in bringing it to life, but I do (as does...
by xlar54
Sun Jul 14, 2019 6:41 pm
Forum: Bare metal, Assembly language
Topic: Kernel switcher... kernel?
Replies: 4
Views: 1338

Kernel switcher... kernel?

Hey guys, I have raspbian installed, and I also have another kernel project Im toying with. Im wondering if there is a kernel that can load up and swap the two. So for instance, if I put all the raspbian files in a directory called "raspbian" and my kernel and files in a directory called "myos". On ...
by xlar54
Sun Aug 19, 2018 9:08 pm
Forum: Bare metal, Assembly language
Topic: Change framebuffer size later
Replies: 5
Views: 1321

Re: Change framebuffer size later

Yeah, its reasonable that you arent aware of whats going on inside those functions. I was hoping that those functions were both self explanatory and accurate in what they were doing, so I appreciate you going with those assumptions (I realize they could be wrong, but if it helps, the common code is ...
by xlar54
Sun Aug 19, 2018 6:55 am
Forum: Bare metal, Assembly language
Topic: tcp stack for rpi3
Replies: 0
Views: 832

tcp stack for rpi3

Was looking at this: https://github.com/tass-belgium/picotcp

It looks like it ought to work, but obviously interfacing with the network adapter or wifi in an unknown (to me). Any resources out there that might help bridge the gap?
by xlar54
Sun Aug 19, 2018 4:22 am
Forum: Bare metal, Assembly language
Topic: Change framebuffer size later
Replies: 5
Views: 1321

Re: Change framebuffer size later

Do you know if i need to send a command to the mailbox to do this? Ive tried just setting the framebuffer pointer to nul, but that didnt do anything. Edit: After RTFM, I did fine a RELEASEBUFFER tag - 0x48001, of which I am doing this: RPI_PropertyInit(); RPI_PropertyAddTag(TAG_RELEASE_BUFFER); RPI_...
by xlar54
Sat Aug 18, 2018 8:30 pm
Forum: Bare metal, Assembly language
Topic: Change framebuffer size later
Replies: 5
Views: 1321

Change framebuffer size later

i have some code which initializes the framebuffer and does a good job at various resolutions. But I want to be able to change it again later. Can anyone tell me why calling this code at different times wont do anything? Maybe i need to do something different to change it later? It just hangs during...
by xlar54
Thu Aug 25, 2016 6:11 pm
Forum: Bare metal, Assembly language
Topic: Ultibo core a bare metal environment for Raspberry Pi
Replies: 65
Views: 22474

Re: Ultibo core a bare metal environment for Raspberry Pi

My comment of course was in jest - I think this is a wonderful project, and I will definitely be brushing up :). But i am curious as to why the authors decided to go with Pascal. Was it the educational aspect of that language?
by xlar54
Thu Aug 25, 2016 6:06 pm
Forum: Bare metal, Assembly language
Topic: RPI3 & Commodore PI
Replies: 4
Views: 1438

Re: RPI3 & Commodore PI

Yeah, I had been working with the older B+ (not a 2). Looks like Ill have to back it up and see what needs to change. Down side is that info is sparse enough without adding 2/3 in the mix for bare metal.
by xlar54
Thu Aug 25, 2016 2:46 am
Forum: Bare metal, Assembly language
Topic: RPI3 & Commodore PI
Replies: 4
Views: 1438

RPI3 & Commodore PI

So its been awhile since ive been here - life in the way... but I did manage to score a Rpi3. Im the author of the Commodore Pi project and I wanted to catch up with it a bit and see how the code would run under the 3. It didnt. Doesnt even boot. Just the rainbow screen. So Im curious was has change...
by xlar54
Thu Aug 25, 2016 2:11 am
Forum: Bare metal, Assembly language
Topic: Ultibo core a bare metal environment for Raspberry Pi
Replies: 65
Views: 22474

Re: Ultibo core a bare metal environment for Raspberry Pi

This is very nice. But darn it - I havent touched Pascal in 25 years.

My choice here is to either brush up on it, or beg you to provide a C compiler in addition. Would it be possible?
by xlar54
Thu Jun 18, 2015 1:08 am
Forum: Bare metal, Assembly language
Topic: Common API project idea
Replies: 3
Views: 951

Re: Common API project idea

RST has done an amazing amount of work. Indeed that code would be very influential. Also, I found some code for a multiboot out on github that includes FAT disk access. Im currently working on a project that this is helping a lot with. RST's uspi library would be good too. CSUD seems to have issues ...
by xlar54
Mon Jun 15, 2015 12:59 pm
Forum: Bare metal, Assembly language
Topic: Common API project idea
Replies: 3
Views: 951

Common API project idea

Not sure if anyone would be interested, but i was thinking about the number of code samples out there for bare metal consisting of boot, mailbox, graphics & text, usb, gpio, filesystem, etc, each done a little differently and with different code signatures. I think at this point it would be nice to ...
by xlar54
Fri May 29, 2015 1:51 am
Forum: Bare metal, Assembly language
Topic: uspi library
Replies: 4
Views: 967

Re: uspi library

Great thanks. Ill update you if I learn anything new.
by xlar54
Thu May 28, 2015 6:08 am
Forum: Bare metal, Assembly language
Topic: uspi library
Replies: 4
Views: 967

uspi library

Hey Rst, first, thank you very much for your work on this and Circle. If you ever wonder if people actually try these things out, we definitely do! I am having an issue with your uspi samples. Ive tried the keyboard and others, but I only get a blank screen. Pressing keys does nothing as well. I mad...
by xlar54
Mon May 11, 2015 4:22 pm
Forum: Bare metal, Assembly language
Topic: Commodore Pi - A Commodore 64 OS for the Rpi
Replies: 15
Views: 8973

Re: Commodore Pi - A Commodore 64 OS for the Rpi

Thanks, yeah it's been awhile. What I REALLY wanted to do was port VICE to run native on the Pi. Ability to run any of the CBM 8-bit machines at boot would be very cool. But VICE is pretty complex (at least for me), so I started with a simpler codebase for emulation. The 8-bit machines just wont die...
by xlar54
Mon May 11, 2015 4:01 pm
Forum: Bare metal, Assembly language
Topic: Commodore Pi - A Commodore 64 OS for the Rpi
Replies: 15
Views: 8973

Re: Commodore Pi - A Commodore 64 OS for the Rpi

Also, I found this project:

https://github.com/steventroughtonsmith/rpi-basic

Which looks really nice. Curious if he used Chadwicks USB library as I didnt see any reference to it. Cant try it right now because Im at work. Anyone know?
by xlar54
Mon May 11, 2015 4:00 pm
Forum: Bare metal, Assembly language
Topic: Commodore Pi - A Commodore 64 OS for the Rpi
Replies: 15
Views: 8973

Re: Commodore Pi - A Commodore 64 OS for the Rpi

Just a note - Ive gotten some emails lately about lack of movement on this project. Not dead at all - just normal life getting in the way. But Im back on the bus, ready to make some significant improvements to this.
by xlar54
Sat May 09, 2015 1:47 pm
Forum: Bare metal, Assembly language
Topic: Rpi emulator
Replies: 3
Views: 924

Re: Rpi emulator

I recall trying QEMU awhile back.. had problems loading a custom kernal and some video issues, at least under Windows 7 at the time. Id guess Windows 8.1 is no better. Thanks though.

But to add to your link list, I also found this:

http://sourceforge.net/projects/rpiqemuwindows/
by xlar54
Sat May 09, 2015 1:18 pm
Forum: Bare metal, Assembly language
Topic: Rpi emulator
Replies: 3
Views: 924

Rpi emulator

Is there an Raspberry Pi emulator available so that I dont have to compile and copy the files and then boot up the RPI with them? The back and forth development is kind of a pain.
by xlar54
Thu Oct 03, 2013 1:52 am
Forum: Bare metal, Assembly language
Topic: Baking Pi - No rule to make target 'build'
Replies: 8
Views: 4880

Re: Baking Pi - No rule to make target 'build'

Post your make file and your directory structure. Something is wrong with the makefile.
by xlar54
Wed Oct 02, 2013 7:36 am
Forum: Bare metal, Assembly language
Topic: Another CSUD issue
Replies: 5
Views: 1262

Re: Another CSUD issue

More info...(hopefully this is helpful to someone).. I tried replacing the MemoryAllocate and family with they platform malloc(), and included <malloc.h> (under Yargato). After some changes to the linker script to locate the libraries, and a few other things to my new platform.c, it compiles. It als...
by xlar54
Wed Oct 02, 2013 6:11 am
Forum: Bare metal, Assembly language
Topic: Another CSUD issue
Replies: 5
Views: 1262

Re: Another CSUD issue

More info: In platform.c, there is a function called MemoryAllocate - which is a platform independent version of malloc(). What I have found is that with my larger kernel, the variable "allocated", which is supposed to be initialized to zero actually isnt. Somehow it's getting overwritten. Under my ...
by xlar54
Tue Oct 01, 2013 3:51 am
Forum: Bare metal, Assembly language
Topic: Another CSUD issue
Replies: 5
Views: 1262

Re: Another CSUD issue

Here's my linker script. Seems the heap would be massive enough: MEMORY { RAM : ORIGIN = 0x8000, LENGTH = 256M } heap_size = 200M; SECTIONS { .text : { *(.text) /* .text sections (code) */ *(.text*) /* .text* sections (code) */ *(.rodata) /* .rodata sections (constants, strings, etc.) */ *(.rodata*)...

Go to advanced search