Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
A talk from RubyConfTH, held in Bangkok, Thailand on December 9-10, 2022. Find out more and register for updates for our 2023 conference at https://rubyconfth.com/ RubyConfTH 2022 videos are presented by Cloud 66. https://cloud66.com
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
The video titled "Megaruby - mruby/c on Sega Mega Drive" features a presentation by Yuji Yokoo at RubyConfTH 2022, discussing the development of games using MRuby and SGDK on the Sega Mega Drive. The presentation is structured as follows: - **Introduction to the Mega Drive**: Yokoo explains that the Mega Drive, also known as Sega Genesis, was released in 1988 and features a Motorola 68,000 CPU. It became popular with over 30 million units sold, particularly outside Japan. - **Overview of MRuby**: MRuby is a lightweight implementation of the Ruby programming language that is designed for embedded environments. Yokoo contrasts MRuby with other implementations like CRuby, emphasizing its integration with C and properties that make it suitable for constrained environments. - **The Significance of Developing for Mega Drive in 2022**: The speaker highlights the relevance of developing for the Mega Drive today due to the availability of open-source development kits like SGDK, the abundance of compatible hardware, active indie development, and the presence of good emulators. - **Why Use MRuby on Mega Drive?**: Yokoo argues that using MRuby allows developers to write game logic in Ruby while still leveraging C for platform-specific calls, making it a compelling option despite the constraints of the hardware. - **Introduction to SGDK**: SGDK (Sega Genesis Development Kit) helps streamline the development process by providing a C API for memory and graphics management, thereby avoiding more complex assembly coding. - **Technical Challenges and Solutions**: The presentation covers the memory limitations of Mega Drive, which has only 64KB of RAM. Yokoo shares strategies he implemented to overcome these issues, such as pre-rendering text into images to optimize memory usage. - **Graphics Handling on Mega Drive**: He discusses the Mega Drive's video display mechanics, explaining how graphics are tile-based and operate with limited color palettes. - **Development Insights**: Yokoo walks through the process of compiling resources and generating executable files for the Mega Drive, demonstrating the code organization and function declarations he utilized in Ruby. - **Demonstration**: The presentation includes a live demo of a simple game that showcases the scrolling capabilities of the graphics system, illustrating the game's mechanics and visual aspects. - **Future Goals**: Yokoo expresses his ambitions to create more games and enhance the tools available for MRuby/C development going forward. - **Conclusion**: He thanks his peers in the MRuby and SGDK communities for their contributions, recognizing the importance of their tools in his development work.
Suggest modifications
Cancel