[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: images.png (8 KB, 425x470)
8 KB PNG
I've been programming in c for a couple of months now, and I decided I wanted to go to low-level or bare metal because that's fun, but I've been searching for and haven't really found a good guide that teaches you how to go from normal c knowledge to low-level stuff. I have already experimented a little with a simulated DE1 using arm assembly and I was thinking of something like that or maybe a way to get into driver development but not overly hard or overwhelming at first. I'm thankful for anyone's advice on the topic.
>>
File: file.png (56 KB, 360x360)
56 KB PNG
AI WILL TAKE OUR JOBS AND KILL US ALL
IT'S SO OVER
>>
>>110039486
Sadly true but we can still code for fun
>>
>>110039471
Just ask AI to teach you until you get tired and just let the AI do it
>>
>>110039471
https://github.com/codecrafters-io/build-your-own-x#build-your-own-emulator--virtual-machine
>>
>>110039578
Thanks alot, I'll be checking that out
>>
>>110039578
>This section of the site is dedicated to gameboy emulation. I will explain everything thats involved with emulating this system here. My own emulator has about 95% compatibility but with no sound.
Woah... I have so much to learn...
>>
i like listening to penis music do yall. nyways im currently learning console apps in c++ n doing fart in Krita and Flash n shit, mm, i hope whoever is the ceo of Google and OpenAI n david bazooka fucking blow their brains out n their head goes KABOOM!!! yipi
>>
>>110039634
Kinda off topic but do yall think Terry davis would have hated or loved modern ai?
>>
Where is a good learning site to learn C?
>>
>>110039471
https://wiki.osdev.org/
>>
>>110039683
https://cs50.harvard.edu/x/
>>
>>110039661
he did have a random word generator in templeos
https://youtu.be/92YipZUv99s?si=F88BMG2iJIdTlmk0
>>
Grab yourself an stm32 dev board (arm) or a $2 weact ch32v003 (risc-v but the hal is almost identical to stm32), and just start hammering away.

Familiarize yourself with whichever ide/ debugger (CubeIDE for ST, mounriver studio for ch32)
Blinky
Button polling
Button external interrupts
Basic timer stuff
ADC
PWM
Then you can play with more exotic communication protocols like i2c.

As you're going along you'll find tons of resources for any particular given project.
>>
>>110039683
This >>110039695 and beej's Guide to C (free download)
>>
>>110039471
I recommend you to use AI
>>
>>110039767
If you're going to be an obnoxious faggot, at least don't be an overt troll. Give him some prompts to get started.

I will say, chatbots are uniquely bad at embedded C, because they have a very limited register level source material to steal answers from, and usually at best they just spit a paragraph directly from the RM at you, often with errors, and can offer almost no clarification on the underlying concepts.
>>
>>110039795
Anon when was the last time you used a frontier coding agent?
>>
>>110039841
Are you telling the kid to spend $200/month to learn to blink an led?

Don't (you) me ever again.
>>
>>110039851
>AI requires a $200/month subscription
why are you lying?
>>
>>110039471
You should start by getting a $20/month subscription to Anthropic Claude and forget coding by hand, ludite.
>>
>>110039661
God said "no weights"
>>
>>110040625
Why are you participating in a technical conversation, when you need a next token guesser to do a python "hello world!" for you?
>>
>>110039683
There are none. You're doomed to LARP with pathetic one-upisms on /g/ because your favorite language is a segfaulting piece of crap with a committee that can't be assed to solve UB.
>>
>>110040688
Dubs confirm.
>>
>>110039471
nand2tetris



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.