Jump to content
  • 0

Switch to ASCII Mode in Assembly



is there a way to switch to ASCII mode via assembly ?

i would like to add that to my program startup routine

Edited by thrawn235

Share this post

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

That depends on what you mean by ASCII mode.

If you want to ensure that you are in textmode, either 80x60 or 40x30 you can use the screen_set_mode call.

https://github.com/commanderx16/x16-docs/blob/master/Commander X16 Programmer's Reference Guide.md#function-name-screen_set_mode

If you actually want ASCII character set, the closest thing you will get is the ISO mode

https://github.com/commanderx16/x16-docs/blob/master/Commander X16 Programmer's Reference Guide.md#iso-mode

Edited by JimmyDansbo

Share this post

Link to post
Share on other sites
  • 0

Yes I meant ISO mode ive read the docs and figured it out.

this does the trick:

lda #$0F
jsr $FFD2

Im sorry for asking simple questions like that i never had any experience with C64 Programming so the API related stuff confuses me a little.

Thanks though

  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Please review our Terms of Use