Author Topic: Help me!  (Read 1055 times)

Segasaturnfreak2004

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-1
    • View Profile
Help me!
« on: January 14, 2021, 12:00:01 am »
 First post on this form so anyways,
How do I delete the Sonic picture in my code??

mindslight

  • Administrator
  • Full Member
  • *****
  • Posts: 189
  • Karma: +19/-3
    • View Profile
    • Jo Engine
Re: Help me!
« Reply #1 on: January 14, 2021, 12:32:00 pm »
Hi,

Can you give us more information about what you do and need ?

Segasaturnfreak2004

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-1
    • View Profile
Re: Help me!
« Reply #2 on: January 14, 2021, 04:27:00 pm »
 So when I write my own code it is supposed to display hello world, but when I compile the iso, it shows the picture of sonic so how do I remove that picture

mindslight

  • Administrator
  • Full Member
  • *****
  • Posts: 189
  • Karma: +19/-3
    • View Profile
    • Jo Engine
Re: Help me!
« Reply #3 on: January 14, 2021, 11:41:42 pm »
You should have something that display this image.

Can you share your code ?

Segasaturnfreak2004

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-1
    • View Profile
Re: Help me!
« Reply #4 on: February 03, 2021, 11:22:34 pm »
#include <stdio>

using namespace std;

int main()
{
cout << “Hello, World!”;
return 0;
}
« Last Edit: February 04, 2021, 02:56:43 pm by Segasaturnfreak2004 »

lo_gi

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Help me!
« Reply #5 on: February 23, 2021, 11:32:27 pm »
That is not Jo Engine code and it cannot be the code that is displaying the sonic image.

Look at the printf sample.

You want something like this:
Code: [Select]
#include <jo/jo.h>

void my_draw(void) {
    jo_set_printf_color_index(JO_COLOR_INDEX_White);
    jo_printf(0, 0, "Hello World");
}

void jo_main(void) {
jo_core_init(JO_COLOR_Black);
jo_core_add_callback(my_draw);
jo_core_run();
}

Although the Sega Saturn is not the best system to learn to code on.

 

Sitemap 1 2 3 4 5 6 7 8 9 10